[vtkusers] [EXTERNAL] Re: System.loadLibray() in 6.2

Gerrick Bivins Gerrick.Bivins at halliburton.com
Fri Mar 13 11:30:42 EDT 2015


I also noticed something strange about this when trying to install VTK 6.2 on Ubuntu.
The natives didn’t load properly.
I had to resort to setting environment variables…
☹
This was on my personal machine which, I don’t have access to at the moment.
Gerrick

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Sebastien Jourdain
Sent: Friday, March 13, 2015 9:06 AM
To: -Daniel-
Cc: vtkusers
Subject: [EXTERNAL] Re: [vtkusers] System.loadLibray() in 6.2

Hum interesting,

I'm wondering what are the differences in names between your System.loadLibrary(..) calls and the one listed in vtkNativeLibrary.

I'm wondering if it is specific to windows?

Do you mind sharing your list of System.loadLibrary(..) and what you have for

for (vtkNativeLibrary lib : vtkNativeLibrary.values()) {
    System.out.println(lib.GetLibraryName());
 }

Those should match...

Thanks,

Seb

On Fri, Mar 13, 2015 at 4:02 AM, -Daniel- <ich_daniel at habmalnefrage.de<mailto:ich_daniel at habmalnefrage.de>> wrote:
If I use your hint, I get the following error message:
java.lang.UnsatisfiedLinkError: no vtkRenderingContextOpenGLJava in
java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        ..
java.lang.UnsatisfiedLinkError: no vtkRenderingFreeTypeOpenGLJava in
java.library.path
        ..
and so on.

But I use System.loadLibrary(..) over all DLLs, then all libraries be
loaded.



--
View this message in context: http://vtk.1045678.n5.nabble.com/System-loadLibray-in-6-2-tp5730789p5730799.html
Sent from the VTK - Users mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient.  Any review, use, distribution, or disclosure by others is strictly prohibited.  If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150313/a76e7d03/attachment.html>


More information about the vtkusers mailing list