[vtkusers] undefined symbol: JAWT_GetAWT

Christopher Navarro cnavarro at ncsa.uiuc.edu
Thu Jun 6 20:30:23 EDT 2002


When you compiled vtk, it asks for the path to the jawt library (as one 
of the advanced options using cmake), did you include the library in that 
path?  ie:

<java path>/libjawt.so ?

If not, you will need to set that properly and compile it again.


Christopher Navarro
Automated Learning Group
National Center for Supercomputing Applications
University of Illinois @ Urbana-Champaign

On Thu, 6 Jun 2002, Jagannathan wrote:

> Hello everybody,
> I have successfully compiled VTK4.0 (and yesterday's cvs) with Java
> wraps 
> (jvm is Sun 1.4.0) on linux, no problems with compiling java wrap
> classes, no 
> problem to compile Reggresion.java or vtkPanel.java, however, when I
> try 
> java -cp .:../../java/vtk.jar Regression
> or
> java -cp .:../../java/vtk.jar vtkPanel
> I get following exception
> Exception in thread "main" java.lang.UnsatisfiedLinkError: 
> /usr/local/lib/vtk/libvtkRenderingJava.so: 
> /usr/local/lib/vtk/libvtkRenderingJava.so: undefined symbol:
>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:772)
>         at java.lang.System.loadLibrary(System.java:832)
>         at Regression.<clinit>(Regression.java:10)
> I have included /usr/loval/lib/vtk into my /etc/ld.so.conf and 
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/vtk.
> I couldn't find any messages related to this error in a list archives.
> Any help will be very much appreciated.
> Regards,
> _______________________________________________
> 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