[vtkusers] problem running vtk + java
Diego Cantor
diegocantorcol at yahoo.com
Sat Feb 26 19:35:31 EST 2005
Hello, I have this problem:
1. I have downloaded the VTK-4.2-LatestRelease.zip
2. I used cmake to generate the visual c 6.0 project
3. I build the project in c++
4. I am trying to run the tutorial included in \Examples\Tutorial. However I get the following error:
java.lang.UnsatisfiedLinkError: C:\vtk4.2\bin\Release\vtkCommonJava.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at Cone.<clinit>(Cone.java:18)
Exception in thread "main"
I know that the library vtkCommonJava.dll has been found because my java.library.path include it :
c:\j2sdk1.4.2_04\bin;.;C:\WINDOWS\system32;C:\WINDOWS;c:\j2sdk1.4.2_04\bin;C:\vtk4.2\bin\Release
I can test that is true by removing it from the java.library.path When I run Cone.class again I get:
java.lang.UnsatisfiedLinkError: no vtkCommonJava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at Cone.<clinit>(Cone.java:18)
Exception in thread "main"
I mean, this error is not because I have not included the library vtkCommonJava.dll in the java.library.path. I think is something more but I am clueless.
Thanks for your help,
Diego.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050226/fc64683a/attachment.htm>
More information about the vtkusers
mailing list