[vtkusers] java.lang.UnsatisfiedLinkError with vtk 5.4 and java wrapper

Carsten Ehbrecht pingwin.newsgroup at gmx.org
Mon Feb 1 10:20:28 EST 2010


Hello,

i've build vtk 5.4 from source with java wrapper on windows. I'm using the MinGW build system. Compiliation is successful and i can also load the generated dlls like 

System.loadLibrary("libvtkCommonJava");

When i call a vtk function from Java i always get a link error:

# java call
vtkConeSource cone = new vtkConeSource();

# error message
java.lang.UnsatisfiedLinkError: vtk.vtkConeSource.VTKInit()J

All java code is within one class, so using the same classloader for "loadLibray" and "new vtkConeSource()".

Has someone a hint what went wrong here?

Cheers, Carsten



More information about the vtkusers mailing list