[vtkusers] Vtk programming on Mac OS X with Xcode

Jing jli023 at cs.auckland.ac.nz
Wed Jul 11 23:01:23 EDT 2007


I have tried to create a new Xcode project for Cone6.cxx from scratch. 

Launch Xcode, File->New Project-> C++ Tool, enter project name and location. 
Remove the main.cxx from the project, add Cone6.cxx to it. 
Add Header search paths to the Vtk header include paths.
Add Cocoa.framework, OpenGL.framework to it.
Add vtk libs to it. 

Then build and run it in both of Debug and Release modes without any errors. 

So, the vtk libs do not need to be added twice to the project. 

Just want to clarify. 

Jing

-- 
View this message in context: http://www.nabble.com/Vtk-programming-on-Mac-OS-X-with-Xcode-tf4046465.html#a11552981
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list