<div dir="ltr">I'm not sure if this is related, but I remember having to be selective about<div>which java libraries were loaded, because if I tried to load them all it would fail.<div>The code that I used to load the libraries is here:</div><div><a href="https://github.com/dgobbi/vtk-dicom/blob/master/Testing/TestDICOMJava.java.in">https://github.com/dgobbi/vtk-dicom/blob/master/Testing/TestDICOMJava.java.in</a></div><div><br></div><div> - David<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 13, 2015 at 9:30 AM, Gerrick Bivins <span dir="ltr"><<a href="mailto:Gerrick.Bivins@halliburton.com" target="_blank">Gerrick.Bivins@halliburton.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I also noticed something strange about this when trying to install VTK 6.2 on Ubuntu.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">The natives didn’t load properly.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I had to resort to setting environment variables…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Wingdings;color:rgb(31,73,125)">L</span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">This was on my personal machine which, I don’t have access to at the moment.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Gerrick<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10pt;font-family:Tahoma,sans-serif">From:</span></b><span style="font-size:10pt;font-family:Tahoma,sans-serif"> vtkusers [mailto:<a href="mailto:vtkusers-bounces@vtk.org" target="_blank">vtkusers-bounces@vtk.org</a>]
<b>On Behalf Of </b>Sebastien Jourdain<br>
<b>Sent:</b> Friday, March 13, 2015 9:06 AM<br>
<b>To:</b> -Daniel-<br>
<b>Cc:</b> vtkusers<br>
<b>Subject:</b> [EXTERNAL] Re: [vtkusers] System.loadLibray() in 6.2<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hum interesting,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I'm wondering what are the differences in names between your <span style="font-size:10pt">System.loadLibrary(..) calls and the one listed in vtkNativeLibrary.</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">I'm wondering if it is specific to windows?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Do you mind sharing your list of System.loadLibrary(..) and what you have for </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">for (vtkNativeLibrary lib : vtkNativeLibrary.values()) {<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt"> System.out.println(lib.GetLibraryName());<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt"> }<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Those should match...<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Thanks,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10pt">Seb<u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Mar 13, 2015 at 4:02 AM, -Daniel- <<a href="mailto:ich_daniel@habmalnefrage.de" target="_blank">ich_daniel@habmalnefrage.de</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">If I use your hint, I get the following error message:<br>
java.lang.UnsatisfiedLinkError: no vtkRenderingContextOpenGLJava in<br>
java.library.path<br>
at java.lang.ClassLoader.loadLibrary(Unknown Source)<br>
at java.lang.Runtime.loadLibrary0(Unknown Source)<br>
..<br>
java.lang.UnsatisfiedLinkError: no vtkRenderingFreeTypeOpenGLJava in<br>
java.library.path<br>
..<br>
and so on.<br>
<br>
But I use System.loadLibrary(..) over all DLLs, then all libraries be<br>
loaded.<br></p></div></div></div></div></div></div></blockquote></div></div></div></div></div></div>