[vtkusers] Vtk+java+linux installation problem

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Sep 6 11:19:10 EDT 2005


I am building VTK+Java on linux/debian every night, using those :

#Specify the java stuff
JAVACOMMAND:FILEPATH=/usr/lib/j2sdk1.4-sun/bin/java
JAVA_ARCHIVE:FILEPATH=/usr/lib/j2sdk1.4-sun/bin/jar
JAVA_AWT_INCLUDE_PATH:PATH=/usr/lib/j2sdk1.4-sun/include
JAVA_AWT_LIBRARY:FILEPATH=/usr/lib/j2sdk1.4-sun/jre/lib/i386/libjawt.so
JAVA_COMPILE:FILEPATH=/usr/lib/j2sdk1.4-sun/bin/javac
JAVA_INCLUDE_PATH:PATH=/usr/lib/j2sdk1.4-sun/include/
JAVA_INCLUDE_PATH2:PATH=/usr/lib/j2sdk1.4-sun/include/linux/
JAVA_RUNTIME:FILEPATH=/usr/lib/j2sdk1.4-sun/bin/java

Could you send us what you are using ?
Thanks
Mathieu
Ps: I'll try against Java 1.5 later today

Lifang Liu wrote:
> Dear All,
> 
> In the past two weeks, I have spent too much time to install latest CVS 
> version of vtk java wrapper (jdk1.5.0_04) in manddrake Linux 10. I 
> downloaded  CMake 2.0.6 and checkout latest vtk.
> I installed it according the recommendation of Jerak :
> http://sourceforge.net/mailarchive/forum.php?thread_id=7532676&forum_id=40439 
> 
> 
> it display error:
> ...
> Building executable /usr/local/lib/VTK-build/bin/VTKJavaExecutable...
> /usr/bin/ld: warning: libmawt.so, needed by 
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so, not found (try using 
> -rpath or -rpath-link)
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so: undefined reference to 
> `awt_Unlock at SUNWprivate_1.1'
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so: undefined reference to 
> `awt_GetComponent at SUNWprivate_1.1'
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so: undefined reference to 
> `awt_GetDrawingSurface at SUNWprivate_1.1'
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so: undefined reference to 
> `awt_FreeDrawingSurface at SUNWprivate_1.1'
> /usr/local/jdk1.5.0_04/jre/lib/i386/libjawt.so: undefined reference to 
> `awt_Lock at SUNWprivate_1.1'
> collect2: ld returned 1 exit status
> make[3]: *** [/usr/local/lib/VTK-build/bin/VTKJavaExecutable] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Wrapping_Java] Error 2
> make: *** [default_target] Error 2
> 
> I tried to compile vtk in Fedora 2.9.* , it get the same error, The same 
> error with
> http://public.kitware.com/pipermail/vtkusers/2004-March/072381.html.
> 
> I am a newpie  in linux and java.
> so can Jarek or someone give any piece of advice on this issue?
> 
> Thank you in advance,
> 
> Yours,
> Lifang
> 
> _________________________________________________________________
> Take charge with a pop-up guard built on patented Microsoft® SmartScreen 
> Technology. 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
>  Start enjoying all the benefits of MSN® Premium right now and get the 
> first two months FREE*.
> 
> _______________________________________________
> This is the private VTK discussion list. Please keep messages on-topic. 
> Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 




More information about the vtkusers mailing list