<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I exactly tried this commands and they
did not work for me. Only when I'm using the second command with
java -cp /path-to-vtk/lib/vtk.jar your.main.class I can for
example start a vtk demo. But when I try my scala project, i got
the error again:<br>
Exception in thread "main" java.lang.UnsatisfiedLinkError: no
vtkCommonJava in java.library.path<br>
I have set the LD_LIBRARY_PATH in my Development Environment, too.
I'm using Intellij IDEA. Maybe it would be interesting, that my
project is a maven project with using scala. I checked out this
maven project:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="https://github.com/chris1412/PlanetSim">https://github.com/chris1412/PlanetSim</a>
and this should work out of the box because vtk is already
installed as a maven dependency. I don't get it, how to fix my
problem because I have tried several solutions. <br>
<br>
Am 19.02.2014 17:23, schrieb Sebastien Jourdain:<br>
</div>
<blockquote
cite="mid:CABObKxcX3LKMYumjLmWO-oOfYoRc1Z+ptSeDwMetbAZ7urJX7A@mail.gmail.com"
type="cite">
<div dir="ltr">I'm making things up here, but it should look like
that on linux:
<div><br>
</div>
<div>export LD_LIBRARY_PATH=/path-to-vtk/lib</div>
<div>java -cp /path-to-vtk/lib/vtk.jar your.main.class</div>
<div><br>
</div>
<div>Seb</div>
<div><br>
</div>
<div>PS: Please keep the list in the loop.</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Feb 19, 2014 at 9:15 AM, Robert
Häckl <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:robert_haeckl@fear-gfx.de" target="_blank">robert_haeckl@fear-gfx.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Sebastian!<br>
<br>
I tried several path settings, but always not to an *.so
file.<br>
Would you please show me a example where I could find
the *.so file which I need and how the command looks
like which I have to do?<br>
<br>
Thanks a lot<br>
<br>
Robert<br>
<br>
<br>
Am 19.02.2014 15:46, schrieb Sebastien Jourdain:<br>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">Hi Robert,
<div><br>
</div>
<div>Did you set the following environment
variable to contain the path to the directory
that contains all the VTK libraries?</div>
<div><br>
</div>
<div>- Win (*.dll): PATH</div>
<div>- Linux (*.so): LD_LIBRARY_PATH</div>
<div>- Mac (*.dylib): DYLD_LIBRARY_PATH</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Feb 19, 2014 at
4:17 AM, Robert Häckl <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:robert_haeckl@fear-gfx.de"
target="_blank">robert_haeckl@fear-gfx.de</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> I'm a
computer science student and at the moment I
do the implementation of my master thesis.
The topic is about to simulate particles and
optimizing agents. But with using vtk, i ran
in some troubles. I always get this error:<br>
Exception in thread "main"
java.lang.UnsatisfiedLinkError: no
vtkCommonJava in java.library.path<br>
<br>
I already asked lots of google sites and no
solution worked for me. I tried it a working
project with vtk on another machine where it
worked just fine. So you are my last hope.<br>
I'm using Ubuntu 13.10 and on the other
machine Windows 7. On both I got the same
error. Furthermore I use the Intellij IDEA
and open-jdk 7 for linux.<br>
<br>
Yours sincerely<span><font color="#888888"><span><font
color="#888888"><br>
<br>
Robert</font></span> </font></span></div>
<br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true"
href="http://www.kitware.com"
target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html"
target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a moz-do-not-send="true"
href="http://www.vtk.org/mailman/listinfo/vtk-developers"
target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>