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

Darren Weber darren.weber.lists at gmail.com
Mon Oct 26 15:49:11 EDT 2009


Was the ITK lib built with the cocoa option for the render engine?  (The
alternatives are x11 and carbon.)

Best regards,
Darren


On Mon, Oct 26, 2009 at 2:13 AM, Olivier Saut <saut.olivier at orange.fr>wrote:

>
> Le 26 oct. 2009 à 02:23, Sean McBride a écrit :
>
>
>> 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?
>>
>
> Yes for the file including itkImage. I am a bit lost. I will try building a
> C++ lib with ITK calls and linking to it in my app.
>
> Thanks,
>
>
>
>                                    - Olivier
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091026/622c597c/attachment.htm>


More information about the Insight-users mailing list