[vtkusers] compiling examples using Xcode

Leonardo Rivera ae3rivera at yahoo.com
Wed Apr 3 11:07:10 EDT 2013


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?????

Thank you  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130403/ec6446d9/attachment.htm>


More information about the vtkusers mailing list