<div dir="ltr">If you want to wrap your VTK library in Python/Java you MUST enable the BUILD_SHARED_LIB option.<div><br></div><div style>Depending on the system, the VTK libraries should be available in one of the directory specified inside:</div>
<div style><br></div><div style>Windows: PATH</div><div style>Linux: LD_LIBRARY_PATH</div><div style>Mac: DYLD_LIBRARY_PATH</div><div style><br></div><div style>The <span style="font-family:arial,sans-serif;font-size:13px">java.</span><span style="font-family:arial,sans-serif;font-size:13px">library.path is not enough for some reason with VTK.</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"> </span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Moreover, you should use the library that have been generated in your install directory as they've been cleaned up from local path of your build system. That's the only way to make sure when you relocate those library they don't try to use the one you just build on your hard drive.</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Seb</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jan 7, 2013 at 9:07 AM, Ilan <span dir="ltr"><<a href="mailto:ilan.tal@gmail.com" target="_blank">ilan.tal@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Seb,<br>
Does the BUILD_SHARED_LIBS key determine if the libraries are dynamic or<br>
not? It seems that I have 2 choices: 1) add the path or 2) build the<br>
libraries the same way as in Linux and Windows.<br>
<br>
I would like to hear your opinion.<br>
Thanks,<br>
Ilan<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/how-to-install-vtk-on-a-Mac-tp5717768p5717833.html" target="_blank">http://vtk.1045678.n5.nabble.com/how-to-install-vtk-on-a-Mac-tp5717768p5717833.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>