[vtkusers] VTK for Java
Alexander Jung
alex.jung at gmx.at
Sat Feb 7 03:18:38 EST 2004
Hi!
I got the latest release vtk-4.2 and data as well as cmake from
the kitware site. after i built it with the necessary flags i copied
the lib files from .../VTK/bin into the SunJava2/jre/lib/i386 directory
and the vtk.jar file from ../VTK/bin into SunJava2/jre/lib/ext dir.
Then i compiled the Step1 Example Cone.java. But when
i start it with "java Cone" i get the following:
Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
at vtk.vtkConeSource.VTKInit(Native Method)
at vtk.vtkObject.<init>(vtkObject.java:98)
at vtk.vtkProcessObject.<init>(vtkProcessObject.java:86)
at vtk.vtkSource.<init>(vtkSource.java:86)
at vtk.vtkPolyDataSource.<init>(vtkPolyDataSource.java:30)
at vtk.vtkConeSource.<init>(vtkConeSource.java:114)
at Cone.main(Cone.java:35)
i tried almost everything (classpath - changing, etc...) but i cant get
around this.
The VTK should work because i tried the examples in c++ succesfully.
Thanks in forward,
Alex
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
More information about the vtkusers
mailing list