[Insight-developers] Mac OSX Mavericks build configuration

Sean McBride sean at rogue-research.com
Mon Dec 2 09:28:55 EST 2013


On Fri, 29 Nov 2013 15:43:05 +0000, MathildeM said:

>I tryed to compile ITK 4.4.2 with :
>
>cmake -DCMAKE_CXX_FLAGS:STRING='-stdlib=libstdc++ -std=c++03'  ..
>and 
>cmake -DCMAKE_CXX_FLAGS:STRING='-stdlib=libstdc++ -std=c++11'  ..
>
>Some previous errors disappeared. However I have still :
>
>[ 43%] Building C object
>Modules/ThirdParty/TIFF/src/itktiff/CMakeFiles/itktiff.dir/tif_fax3sm.c.o
>Linking C shared library ../../../../../lib/libitktiff-4.4.dylib
>duplicate symbol ___sputc in:
>    CMakeFiles/itktiff.dir/tif_aux.c.o
>    CMakeFiles/itktiff.dir/tif_close.c.o

As Matt said, best to update your ITK, but you can also work around this by building against the 10.8 SDK instead of the default 10.9 SDK.

Cheers,

-- 
____________________________________________________________
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-developers mailing list