[Insight-users] Using ITK in a Cocoa App (+Xcode)
Sean McBride
sean at rogue-research.com
Sun Oct 25 21:23:23 EDT 2009
On 10/22/09 2:14 PM, Olivier Saut said:
>> We use ITK in our Cocoa app with no problem. We just include ITK
>> headers and link to ITK static libs. It must be something with your
>> project setup. Try creating a new Cocoa project in Xcode and see if
>> it
>> works there.
>
>I have tried starting from scratch : it still fails with the same
>error when I try to include itkImage to my ObjectiveC++ file.
> From a new Cocoa project, I have add the header paths to the Project
>Setting "Header Search Paths" (with and without using the recursive
>flag) and the libs path to Library Search Paths while adding the
>static libs to the project with Project -> Add to Project...
And are you using the .mm extension for you Obj-C++ files?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the Insight-users
mailing list