[vtkusers] using Xcode for debugging VTK C++ examples?

mitja_mreza at indiana.edu mitja_mreza at indiana.edu
Tue Oct 11 16:23:17 EDT 2011


Dear VTK Users list,

could anyone point me to any relatively up-to-date tutorial for *debugging* VTK C++ examples in Xcode?

(I don't need Cocoa specific instructions, just an example to have step-by-step debugging work in Xcode, e.g. on the basic VTK C++ examples)

Here are some details of the issue I seem to have encountered:

- building and running VTK C++ code from command line works fine on my system (it's routinely in use to build CompuCell3D from makefiles).

- Xcode compiles the Cone Step1 example fine, from an xcodeproj obtained from "cmake ../ -G Xcode" and VTK_DIR poiting to the proper path.

- both "build and debug" or "build and run" in Xcode however yield this error:

"dyld: Library not loaded: libvtkRendering.5.4.dylib"

This is on Mac OS X 10.6.8 Snow Leopard, Xcode 3.2.6, and VTK 5.4.2.

Any help would be much appreciated!
-Mitja




More information about the vtkusers mailing list