[vtkusers] Getting Started Questions

Labitt, Bruce labittb1 at tycoelectronics.com
Fri Sep 5 08:57:29 EDT 2008


I'm trying to get started with vtk.  I have downloaded vtk5.2.  I used
cmake 2.6 to build vtk on a RHEL5.2 clone.  How can I tell if the build
is really successful?  Can I examine an output file?  Is there a test
suite I can run?  

I have built vtk out of place into a VTK-build directory.  Some of the
files in the VTK-build/bin directory do not run, for instance, when I
run
[ bin]$./GraphicsCxxTests         the result is

./GraphicsCxxTests: error while loading shared libraries:
libvtkRendering.so.5.2: cannot open shared object file: No such file or
directory

libvtkRendering.so.5.2 is in the current directory bin

Other files do run, like Medical1, and Cone6.

I attempted to compile in python support.  I cannot tell if this was
done properly however.  If I type 
[ VTK-build/bin] $ vtkpython 

I get 
vtk version 5.0.4, vtk source  rather than the expected 5.2.  Is this
correct?

If I type [ VTK-build/bin]$ ./vtkpython  I get

./vtkpython: error while loading shared libraries: libvtkViews.so.5.2:
cannot open shared object file: No such file or directory.  

There is a libvtkViews.so.5.2 in the directory...

Any tips or help would be greatly appreciated.

Thanks,
Bruce



More information about the vtkusers mailing list