[vtkusers] How to compile a simple vtk C++ code ?!!

Davood Ansari david.ansari at gmail.com
Mon Nov 27 05:46:12 EST 2006


Hi again

Actually I have just intalled vtk after I got cmake running under my Suse
linux OS.
During the build I asked the installer to build the examples as well. Now I
am able to run
the already compiled examples placed in vtk's bin directory. The existing
problem is
that I cannot complie other examples by directly inviking gcc. The compiler
fails to find
the header files (vtk.h etc). What should I do ?

Let's say I am willing to compile the step1 program in the tutorials
directly using gcc and
from the command line. How can I compile it without using cmake and by
direct invokment of gcc?

Thanks in Advance
Davood Ansari O.B.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061127/ef8a123e/attachment.htm>


More information about the vtkusers mailing list