[vtkusers] java.lang.UnsatisfiedLinkError can't load libvtkRenderingJava

Shun Wong shw206 at doc.ic.ac.uk
Tue Nov 11 09:25:10 EST 2008


Hi everyone,

I get such an error when I am trying to load the rendering library in java.

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
/vol/project/2008/362/g0836222/VTK/bin/bin/libvtkRenderingJava.so.5.2.0: 
libmawt.so: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
    at java.lang.Runtime.loadLibrary0(Runtime.java:823)
    at java.lang.System.loadLibrary(System.java:1030)
    at panel.<clinit>(panel.java:24)
    at Mainvtk.main(Mainvtk.java:8)

I am sure the java can laod the libvtkRenderingJava.so.5.2.0
I am using eclipse in a 32-bit linux.
what should I do to make it work?(I guess the rendering library needs to 
be linked with libmawt.so while compilation)

Thanks in advance,
shw206
-------------- next part --------------
An embedded message was scrubbed...
From: Shun Wong <shw206 at doc.ic.ac.uk>
Subject: Newbie question about showing vtkStructuredPoints file
Date: Fri, 07 Nov 2008 15:50:38 +0000
Size: 668
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081111/1d9b0f1c/attachment.eml>


More information about the vtkusers mailing list