[vtkusers] HELP IN JAVA VTK 4.0

Chris Johnson chrisj at epcc.ed.ac.uk
Thu Jan 17 05:34:09 EST 2002


Hi Peter,

I managed to get the java examples compiling ok, but did you manage to run
them? I still get a java.lang.UnsatisfiedLinkError (see my email
10.01.02). If you did get it running then what did you set your
LD_LIBRARY_PATH to? We seem to have some problem with the library

vtkCommonJava

error: file /home/vtk/VTK41/bin/libvtkCommonJava.so: symbol
__1cDstd2l4n0ALchar_traits4Cc___6Frn0ANbasic_ostream4CcCTA__pkC_3_: referenced
symbol not found

and several variations on the above. I suspect there are some more  
fundamental problems than simply an incorrectly set path. However, all the
make went ok (apart from having to create the directories $VTK_HOME/java
and $VTK_HOME/java/vtk manually).

Cheers,

Chris

On Wed, 16 Jan 2002, Peter J. Carr wrote:

> Jose mendoza wrote
> 
> > 
> >  I have a problem compiling cone.java. The compiler
> >can not find the vtkPanel().  
> >
> >  Where is this class located??
> >
> >
> VTK/Wrapping/Java/vtkPanel.java
> 
> Once the 'make process is complete' I compiled the vtk java classes with 
> the following:
>     cd VTK/java/vtk
>     javac -classpath ../ -d ../ *.java
> Then made a jar file with:
>     cd ..
>     jar -cf vtk.jar vtk/*.class
> 
> When compiling vtkPanel.java you need to make sure vtk.jar is on the 
> classpath.




More information about the vtkusers mailing list