[vtkusers] how do I know if vtk is installed?
Sebastien Jourdain
sebastien.jourdain at kitware.com
Mon Jan 30 09:27:11 EST 2012
My idea is that you should embed/provide VTK with your software for
each platform as VTK is not distributed with the Java wrapping by
default...
And VTK can not be built statically with the Java wrapping. Moreover,
I'm not aware on how to use VTK without setting an environment
variable unless you have installed VTK in your path.
So another way to do that is to embed a VTK installer with your software.
Seb
On Mon, Jan 30, 2012 at 9:16 AM, Ilan <ilan.tal at gmail.com> wrote:
> Thanks for the reply Seb,
> I am feeling my way around this vtk so I may ask some dumb questions. But,
> if you don't ask, you don't learn....
>
> I will certainly include the vtk.jar in my lib directory, but I can't know
> up front if the user has vtk or not. I don't want to frustrate him, which is
> why I'd like some way to know if vtk is available or not.
>
> I'm playing around with the cone and I must say it is very nice. This is
> powerful software and I'd like to get some use out of it.
>
> I ran into the problem that it didn't know where the vtk/bin was so I had to
> tell my Netbeans project where it was. I can see this should also be a
> problem with the users, so maybe I have him fill in some registry entry
> pointing to the vtk location. If that is empty, then that is a sign that he
> has no vtk. Again, I'm just feeling my way around.
>
> If I go with this, maybe I could remove the path addition to Netbeans and I
> explicitly tell Java where the vtk/bin is? How would I do such a thing for
> the static library load? Is that the right way to go? I am running Linux
> here, but most of my users are still in love with Windows and the locations
> will clearly be different.
>
> If you have some ideas, please let me know.
> Thanks,
> Ilan
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/how-do-I-know-if-vtk-is-installed-tp5440818p5441529.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list