[vtkusers] Error with Running Java Cone.java,relocation error symbol _pure_virtual not foun
宋 华
songhua0712 at hotmail.com
Sun Nov 9 09:22:16 EST 2003
Hi all
I built VTK4.2.2 with Java1.4.0.3 on Solaris (sparc) 9. But when I
tried run the Cone.java(a simple example), I got the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/home/songhua/VTK/bin/libvtkCommonJava.so:ld.so.1: java: fatal:
relocation error: file /home/songhua/VTK/bin/libvtkCommonJava.so:
symbol
_pure_virtual: referenced symbol not found
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 vtk.vtkPanel.<clinit>(vtkPanel.java:24)
at Cone.<init>(Cone.java:19)
at Cone.main(Cone.java:49)
The C compiler that I specified for CMake to use is gcc and C++
compiler is g++.I also tried cc and c++,the problem still is.
Thanks in advance!!
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/
More information about the vtkusers
mailing list