[vtkusers] how do I know if vtk is installed?

Ilan ilan.tal at gmail.com
Mon Jan 30 09:16:25 EST 2012


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.



More information about the vtkusers mailing list