[vtkusers] Vtk+java+linux installation problem

Lifang Liu llifang at hotmail.com
Tue Sep 6 11:10:37 EDT 2005


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*.




More information about the vtkusers mailing list