[Insight-users] ITK compilation with Mac OS 10.5 and Xcode

Sean McBride sean at rogue-research.com
Wed Mar 5 16:18:23 EST 2008


On 3/5/08 10:14 PM, Olivier Tournaire said:

>Thank you Sean, I will try tomorrow. Just a few questions : did I set the
>right processor ? Do I have to change any other options in ccmake ? I do not
>know if it is a 64 bit version. How can I know that ? If it is a 64 bit
>proc, do I have to use "x86_64" instead of "i686" ?

What do you mean "set the right processor"?  I'm not aware of "i686"
being a valid setting anywhere in cmake.  Are you talking about
CMAKE_OSX_ARCHITECTURES?  If so, set that to 'i386'.

I don't recommend building ITK as 64 bit unless you really need to work
with huge datasets.

>Best regards,
>
>Olivier
>
>2008/3/5, Sean McBride <sean at rogue-research.com>:
>>
>> On 3/5/08 8:36 PM, Olivier Tournaire said:
>>
>> >I am a new Mac user and I am currently trying to compile ITK under Mac OS
>> >10.5. My laptop is a MacBookPro. I use CMake 2.4 patch 8, ITK 3.4 and
>> Xcode.
>> >However, when I compile the Xcode project, I got an error : "No native
>> data
>> >type can represent a 16-bit integer.". It seems to come from
>> >\Utilities\itksys\FundamentalType.h.
>> >I use cmake in command line :
>> >
>> >cmake -G Xcode and set the processor as a "i686".
>>
>>
>> Does it work if you use the Unix make files generator?  Which version of
>> Xcode?
>>
>>
>> --
>> ____________________________________________________________
>> Sean McBride, B. Eng                 sean at rogue-research.com
>> Rogue Research                        www.rogue-research.com
>> Mac Software Developer              Montréal, Québec, Canada
>>
>>

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