<div dir="ltr">Hey Seb,<div><br></div><div>Thanks for the links.</div><div><br></div><div>I am trying to run the cone example from the link you sent me. </div><div><br></div><div>I set my env var to: DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/graphviz/</div><div><p class="">also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/</p><p class=""><br></p><p class="">Since my find */dylib returned filed in both directories.</p><p class=""><br></p><p class="">However when I run the program I get the following exception:</p><p class="">Exception in thread "main" java.lang.UnsatisfiedLinkError: vtk.vtkRenderWindow.VTKInit()J</p><p class=""><span class=""> </span>at vtk.vtkRenderWindow.VTKInit(<span class="">Native Method</span>)</p><p class=""><span class=""> </span>at vtk.vtkObjectBase.<init>(<span class="">vtkObjectBase.java:43</span>)</p><p class=""><span class=""> </span>at vtk.vtkObject.<init>(<span class="">vtkObject.java:94</span>)</p><p class=""><span class=""> </span>at vtk.vtkWindow.<init>(<span class="">vtkWindow.java:182</span>)</p><p class=""><span class=""> </span>at vtk.vtkRenderWindow.<init>(<span class="">vtkRenderWindow.java:602</span>)</p><p class=""><span class=""> </span>at vtk.vtkPanel.<init>(<span class="">vtkPanel.java:27</span>)</p><p class="">
</p><p class=""><span class=""> </span>at VTKSample.main(<span class="">VTKSample.java:22</span>)</p><p class=""><br></p><p class="">Any ideas? I have a feeling its the env var that is not right but there are no other locations that contain the vtk dylib files.</p><p class=""><br></p><p class="">Thanks again</p><p class="">Fatima</p></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 7:41 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Fatima,<div><br></div><div>Please keep the mailing list in the loop.</div><div><br></div><div>Ok so I guess your OS is OS X and not iOS. </div><div>This link is a bit old and outdated but it should give you some hints on how to setup your Eclipse.</div><div><br></div><div><a href="http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk" target="_blank">http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk</a><br></div><div><br></div><div>So remember to set DYLD_LIBRARY_PATH instead of PATH.</div><div><br></div><div>You can also download the binaries from our dashboard here: </div><div><br></div><div><a href="https://open.cdash.org/viewFiles.php?buildid=3689913" target="_blank">https://open.cdash.org/viewFiles.php?buildid=3689913</a><br></div><div><br></div><div>Don't forget to unzip the native jar file.</div><div><br></div><div>On a side note, you will have to use JOGL as a dependency for rendering. You may find some mention on that in the mailing list archive.</div><div><br></div><div>Seb</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 8:25 PM, Fatima Zahra El Filali <span dir="ltr"><<a href="mailto:felfilali@dons.usfca.edu" target="_blank">felfilali@dons.usfca.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Seb,<div>I basically installed cmake, used it to generate make files, run make and make install. My OS is iOS. Ideally I would like to run my code on Eclipse, but I dont mind vi-ing and running java on command line.</div><div>The thing is I don't know where to start at this point. All I want to do is run some of the examples that came with vtk so that I can learn from them and write my own.</div><div>Thanks so much for your help.</div><span><font color="#888888"><div>Fatima</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 5:59 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Depending on your OS, you will have to set a system variable with the path of the directory that contains the VTK library, before launching your application.<div><br></div><div>Windows: set PATH=%PATH%;c:\[path-to-vtk-which-contains-*.dll]</div>Linux: export LD_LIBRARY_PATH=[path-to-vtk-which-contains-*.so]<div>OS X: export DYLD_LIBRARY_PATH =[path-to-vtk-which-contains-*.dylib]<br></div><div><br></div><div>For more help, you will need to explain more your actions and what was the error.</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Feb 11, 2015 at 2:46 PM, Fatima Zahra El Filali <span dir="ltr"><<a href="mailto:felfilali@dons.usfca.edu" target="_blank">felfilali@dons.usfca.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div>I was able to install vtk with the Examples but I am having trouble running them.</div><div>I am very new to vtk but comfortable with Java. </div><div>Any how-tos you can direct me to?</div><div>Thanks</div><span><font color="#888888"><div>Fatima</div></font></span></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>