<div dir="ltr">Were is VTK?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 12:12 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">Hey Seb,<div><br></div><div>Thanks for your response. That is how I have the env var set but I still get:</div><div>







<p>Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkCommonJava in java.library.path</p>
<p><span>   </span>at java.lang.ClassLoader.loadLibrary(<span>ClassLoader.java:1878</span>)</p>
<p><span>   </span>at java.lang.Runtime.loadLibrary0(<span>Runtime.java:849</span>)</p>
<p><span>   </span>at java.lang.System.loadLibrary(<span>System.java:1087</span>)</p>
<p><span>   </span>at VTKSample.<clinit>(<span>VTKSample.java:19</span>)</p><p>Those 2 dirs have the following in them:</p><p>$ ls /usr/local/natives-Darwin-x86_64 | grep -i dylib</p><p>libcdt.5.dylib</p><p>libcgraph.6.dylib</p><p>libgvc.6.dylib</p><p>libgvpr.2.dylib</p><p>libhtp-0.2.1.dylib</p><p>libpathplan.4.dylib</p><p>














</p><p>libxdot.4.dylib</p><p>ls /usr/local/natives-Darwin-x86_64/graphviz/ | grep -i dylib</p><p>libgvplugin_core.6.dylib</p><p>libgvplugin_core.dylib</p><p>libgvplugin_dot_layout.6.dylib</p><p>libgvplugin_dot_layout.dylib</p><p>libgvplugin_neato_layout.6.dylib</p><p>libgvplugin_neato_layout.dylib</p><p>libgvplugin_pango.6.dylib</p><p>libgvplugin_pango.dylib</p><p>libgvplugin_quartz.6.dylib</p><p>libgvplugin_quartz.dylib</p><p>libgvplugin_xlib.6.dylib</p><p>



















</p><p>libgvplugin_xlib.dylib</p><p><br></p><p>So there is no mention of vtkCommonJava, even when I do a search for it in my filesystem.</p><span class="HOEnZb"><font color="#888888"><p>Fatima</p></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 18, 2015 at 10:27 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">Not sure to know where all your VTK dylibs files.<div><br></div><div>But you can do something like that</div><div><br></div><div><span style="font-size:13px">DYLD_LIBRARY_PATH=</span><span style="font-size:13px">/usr/local/</span><span style="font-size:13px">natives-Darwin-x86_64:</span><span style="font-size:13px">/usr/local/</span><span style="font-size:13px">natives-Darwin-x86_64/</span><span style="font-size:13px">graphviz</span><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 6:47 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">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>also tried it with : DYLD_LIBRARY_PATH=/usr/local/natives-Darwin-x86_64/</p><p><br></p><p>Since my find */dylib returned filed in both directories.</p><p><br></p><p>However when I run the program I get the following exception:</p><p>Exception in thread "main" java.lang.UnsatisfiedLinkError: vtk.vtkRenderWindow.VTKInit()J</p><p><span>       </span>at vtk.vtkRenderWindow.VTKInit(<span>Native Method</span>)</p><p><span>      </span>at vtk.vtkObjectBase.<init>(<span>vtkObjectBase.java:43</span>)</p><p><span>   </span>at vtk.vtkObject.<init>(<span>vtkObject.java:94</span>)</p><p><span>   </span>at vtk.vtkWindow.<init>(<span>vtkWindow.java:182</span>)</p><p><span>  </span>at vtk.vtkRenderWindow.<init>(<span>vtkRenderWindow.java:602</span>)</p><p><span>      </span>at vtk.vtkPanel.<init>(<span>vtkPanel.java:27</span>)</p><p>














</p><p><span> </span>at VTKSample.main(<span>VTKSample.java:22</span>)</p><p><br></p><p>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><br></p><p>Thanks again</p><span><font color="#888888"><p>Fatima</p></font></span></div><div><br></div></div><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><div><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>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>