[ITK Community] [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


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

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



More information about the Community mailing list