[vtkusers] compiling vtk4.0

navarro christopher michael cmnavarr at ews.uiuc.edu
Wed May 22 18:06:20 EDT 2002


I found the solution to my problem.  For others who may run into this
problem you have to go into the advanced options of cmake and set the
paths for JAVA_AWT_LIBRARY_PATH, etc

-chris



On Wed, 22 May 2002, navarro christopher michael wrote:

> 
> Hi,
> 
> I am trying to compile the VTK 4.0 library under redhat linux 7.3 and I am
> getting an error that it cannot find jni.h   What I did was I downloaded
> the vtk source and the vtkData and put those both under /usr/home/  I then
> downloaded cmake  and did  cmake -i  and turned on the java wrap  After
> that was finished I did make in the VTK directory and it compiles fine up
> to the point it needs jni.h for the java wrap.  jdk is installed in
> /usr/local/jdk1.4  So the file does exist and in my environment variables
> I have JAVA_HOME=/usr/local/jdk1.4
> 
> Any help on how I need to edit the makefile so it can find this
> file?  Thanks
> 
> -chris
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list