[vtkusers] JAVA_AWT_LIBRARY

Fran Fabrizio fran at cis.uab.edu
Tue Nov 25 19:37:01 EST 2003


Update on this problem.  The correct value for me was

JAVA_AWT_LIBRARY = /usr/java/jre/lib/sparc/libjawt.so

however, this immediately leads to an error saying lobjawt.so can't find
libmawt.so (which is located at
/usr/java/jre/lib/sparc/motif21/libmawt.so

How do I tell CMake and/or libjawt.so to look there?  Sorry to be so
basic, but I'm relatively new to this. 

Thanks,
Fran

On Tue, 2003-11-25 at 17:54, Fran Fabrizio wrote:
> I can't figure out what directory CMake really wants for the
> JAVA_AWT_LIBRARY variable.  Is it looking for a specific file? 
> <path-to-my-java-sdk-install>/lib and
> <path-to-my-java-sdk-install>/jre/lib did not seem to do the trick. 
> Does anyone know the proper value?
> 
> My make is dying right here:
> 
> Building object file vtkWorldPointPickerJava.o...
> Building object file vtkXRenderWindowInteractorJava.o...
> Building shared library
> /hf/local/vtk-build/solaris/bin/libvtkRenderingJava.so...
> /usr/java/jre/lib: file not recognized: File format not recognized
> collect2: ld returned 1 exit status
> make[3]: *** [/hf/local/vtk-build/solaris/bin/libvtkRenderingJava.so]
> Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Rendering] Error 2
> make: *** [default_target] Error 2
> 1597.0u 172.0s 41:59 70% 0+0k 0+0io 0pf+0w
> 
> ...so I suspect that this is the problem I am having.  
> 
> Thanks,
> Fran
> 
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list