[Insight-users] Using ITK in a Cocoa App (+Xcode)

Sean McBride sean at rogue-research.com
Tue Oct 20 09:12:10 EDT 2009


On 10/20/09 10:02 AM, Olivier Saut said:

>>  I'm illiterate on Objective-C++      :-/
>>
>> Could you please tell us if you are allowed to use
>> std::streams in an Objective-C++ file ?
>>
>
>As Michael confirmed in his mail, I think so.
>
> From your answer it looks like my problem is not  specific to ITK, I  
>will try to investigate more on the interplay between ObjectiveC++ and  
>standard streams.
>For the time being, I am using ITK by launching processes (written in C 
>++) directly from my Cocoa App (using NSTask).

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.

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