[vtkusers] Re: Library not found ? vtkInit problem. Vtk on Java Windows 2000
Adrian Steiner
adrian.steiner at hta-bi.bfh.ch
Fri Dec 12 07:37:33 EST 2003
Hello,
I am working on Windows 2000 and downloaded vtk4.2
from the site and installed it.
I am working with Java 1.4.2 and I have (only)
MS Visual C++ and Developer Studio C++
compilers at hand.
Can I get along with this at all ?
Do I have to compile ?
I added vtk.jar to the CLASSPATH and
C:\local/vtk42/bin (vtk installation) to
PATH (Done earlier already). I get the vtkInit error below.
Is a library missing or not in the path ?
If so, which ?
Why do I get those strange paths (martink etc...)
Thank you very much
Adrian Steiner
C:\local\vtk42\Wrapping\Java>set CLASSPATH=C:\local\vtk42\bin\vtk.jar;%CLASSPATH%
C:\local\vtk42\Wrapping\Java>java SimpleVTK
Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
at vtk.vtkConeSource.VTKInit(Native Method)
at vtk.vtkObject.<init>(C:/martink/vtk42/vtkdist/java/vtk/vtkObject.java:98)
at vtk.vtkProcessObject.<init>(C:/martink/vtk42/vtkdist/java/vtk/vtkProcessO
at vtk.vtkSource.<init>(C:/martink/vtk42/vtkdist/java/vtk/vtkSource.java:86)
at vtk.vtkPolyDataSource.<init>(C:/martink/vtk42/vtkdist/java/vtk/vtkPolyDat
at vtk.vtkConeSource.<init>(C:/martink/vtk42/vtkdist/java/vtk/vtkConeSource.
at SimpleVTK.<init>(SimpleVTK.java:20)
at SimpleVTK.main(SimpleVTK.java:49)
C:\local\vtk42\Wrapping\Java>set PATH
Path=C:\local\vtk42\bin;C:\j2sdk1.4.2...
More information about the vtkusers
mailing list