<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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
<BR> at
java.lang.ClassLoader$NativeLibrary.load(Native Method)
<BR> at
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1480)
<BR> at
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1404)
<BR> at
java.lang.Runtime.loadLibrary0(Runtime.java:772)
<BR> at
java.lang.System.loadLibrary(System.java:832)
<BR> at
vtk.vtkPanel.<clinit>(vtkPanel.java:24)
<BR> at
SimpleVTK.<init>(SimpleVTK.java:19)
<BR> at
SimpleVTK.main(SimpleVTK.java:49) <BR></FONT></DIV>
<DIV><FONT face=Arial size=2>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. </FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2>Please help!!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks a lot,</FONT></DIV>
<DIV><FONT face=Arial size=2>Xinzi</FONT></DIV>
<DIV> </DIV></BODY></HTML>