[vtkusers] java.lang.UnsatisfiedLinkError with vtk 5.4 and java wrapper
Sebastien Jourdain
jourdain at artenum.com
Thu Feb 4 05:43:56 EST 2010
Hi Carsten,
In fact, I haven't seen it before, but the error happen on the
"Widgets". So you need to load those library too.
System.loadLibrary("vtkHybridJava");
System.loadLibrary("vtkWidgetsJava");
Regards,
Seb
On 4 févr. 10, at 11:21, Carsten Ehbrecht wrote:
> Hi Seb,
>
> thanks for your answer :)
>
>> your error just come from the name you used in your
>> System.loadLibrary.
>> You should use "vtkCommonJava" instead of "libvtkCommonJava".
>
> yes and no ;) The generated dlls have the name
> "libvtkCommonJava.dll". If i use System.loadLibrary("vtkCommonJava")
> then those libs can not be found. With the other name the dlls are
> loaded. Did i make something wrong when compiling the dlls? I was
> using mingw. I will try today with visual studio 2005.
>
> Did you ever try compiling vtk with mingw?
>
>>
>> If you want more informations, you can read this forum thread:
>> http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk
>
> Thanks, i have already seen it :)
>
> Cheers,
> Carsten
>
More information about the vtkusers
mailing list