[vtkusers] Wrapping Java

Jeff Lee jeff at cdnorthamerica.com
Mon Apr 29 07:15:05 EDT 2002


What is the unsatisfied link error?
-Jeff

Daniel Sáez Domingo wrote:

>Hello,
>
>   I have a problem loading libraries in Java. I'll explain it.
>
>I have ported VTK into Mac OSX using only Quartz and wrapping Java. It 
>generates libraries named libnameJava.dylib from a great number of files. I 
>have included the DYLD_LIBRARY_PATH with the path to these libraries.
>Then, when a System.loadLibrary("nameJava") call is done, it's produced an 
>UnsatisfiedLinkError.
>I have read that the System.loadLibrary() call needs a .jnilib library, but I 
>don't know how to create it from a dylib library (this option would be the 
>best) or from the source files. I don't either know if I have to create both 
>jnilib and dylib libraries because I don't know if the dylib library is going 
>to be used.
>
>I would thank somebody help me.
>
>Daniel Sáez
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>

-- 
Jeff Lee 






More information about the vtkusers mailing list