[vtkusers] compiling examples using Xcode

John Drescher drescherjm at gmail.com
Wed Apr 3 11:09:27 EDT 2013


On Wed, Apr 3, 2013 at 11:07 AM, Leonardo Rivera <ae3rivera at yahoo.com> wrote:
> Hello,
> I am trying to compile the shpere example on this page
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere
>
> using Xcode 3.2.6 on OS 10.6. Can somebody guide me through the steps for
> doing this? So far
> i have been following the steps from different different sites  but they
> seemed outdated. For example
> many sites tell me to do,
>
> cmake [path/to/source] -G Xcode
>
> but when i do "cmake" it says command not found and when i do "make -G
> Xcode" it says "invalid option -G".
> How can i do this?????
>

You need to install CMake first.

http://www.cmake.org/cmake/resources/software.html

John



More information about the vtkusers mailing list