[vtkusers] Error with Running Java SimpleVTK

Dale Greer dmgreer at airmail.net
Mon May 27 01:54:05 EDT 2002


On Windows 2K, I got the same error before I added vtk40/bin to the system
PATH variable. I don't know what the equivalent is on Solaris, though.

Dale

----- Original Message -----
From: "Xinzi Wu" <xinxin at sciencesoft.net>
To: <vtkusers at public.kitware.com>
Sent: Monday, May 27, 2002 12:18 AM
Subject: [vtkusers] Error with Running Java SimpleVTK


Hi All,

I downloaded VTK nightly release (on May 2, 2002) and built it with Java
1.4.0 on Solaris (sparc) 8. But when I tried run the SimpleVTK test came
with the nightly distribution, I got the following error:

Exception in thread "main" java.lang.UnsatisfiedLinkError:
/user/home/xccbond/vtk_May_2_2002/VTK/vtkbin/bin/libvtkCommonJava.so:
ld.so.1: java: fatal: relocation error: file
/user/home/xccbond/vtk_May_2_2002/VTK/vtkbin/bin/libvtkCommonJava.so: symbol
_pure_error_: 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 SimpleVTK.<init>(SimpleVTK.java:19)
        at SimpleVTK.main(SimpleVTK.java:49)

The C/C++ compiler that I eventually specified for CMake to use is the Sun
Workshop Compilers C/C++ 4.2. I also have gcc installed on my machine. But I
can't get the CMake (1.2) to work with gcc, because I always got the error
message "configure error: can not run test program while cross compiling"
when I started CMake.

Please help!!

Thanks a lot,
Xinzi






More information about the vtkusers mailing list