[vtkusers] HELP IN JAVA VTK 4.0
Peter J. Carr
pjc at hootenanny.org
Thu Jan 17 14:19:05 EST 2002
Hi Chris,
When I built vtk the libraries ended up in:
$VTK_HOME/bin
Did you 'make install' after running 'make'?
I setenv LD_LIBRARY_PATH {$VTK_HOME}/bin
I am able to run my java programs without problems finding and loading
the libraries on a RedHat7.2 install using VTK4.0.
Once you do get it running you may have problems using vtkPanel on a
Linux machine.
Stay posted for details.
- Peter Carr
Chris Johnson wrote:
>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.
>>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020117/0a2842a6/attachment.htm>
More information about the vtkusers
mailing list