[vtkusers] UnsatisfiedLinkError

Yii.Guxing yii.guxing at gmail.com
Tue May 22 01:06:01 EDT 2018


I try to run my vtk application, but got this error:

java.lang.UnsatisfiedLinkError: D:\myAppDir\vtk\lib\vtkChartsCoreJava.dll:
Can't find dependent libraries
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)
	at java.lang.Runtime.loadLibrary0(Runtime.java:870)
	at java.lang.System.loadLibrary(System.java:1122)
	at vtk.vtkNativeLibrary.LoadLibrary(vtkNativeLibrary.java:240)
	at vtk.vtkNativeLibrary.LoadAllNativeLibraries(vtkNativeLibrary.java:175)

My vtk application run with:  C:\Program
Files\Java\jdk1.8.0_162\jre\bin\java.exe" -Dvtk.lib.dir=myAppDir/vtk/lib ...

I can not add " D:\myAppDir\vtk\lib\" to the PATH, because they are going to
be packaged into my application.
What can i do to fix it?
Thanks for all!



--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list