[ITK-users] Does ITK 4.6 support C++11 for OSX?

Becksfort, Jared Jared.Becksfort at STJUDE.ORG
Fri Jul 18 16:27:17 EDT 2014


I had trouble at one point with a C++11 build.  My problem was that OSX 10.8 did not use the correct standard library by default.  It used (I believe) cstdlib, but libc++ is what is needed.  You can try your luck at using libc++ in the build commands or upgrade to 10.9 if you haven’t already.

I am 99% sure I build ITK version 4.6 on it.  I don’t have that computer handy at the moment so I can’t check.  The computer is a work computer, so I actually just had it re-imaged to 10.9 rather than a straight upgrade.  That could result in some differences potentially.

Good Luck,
Jared

From: Insight-users [mailto:insight-users-bounces at itk.org] On Behalf Of Jim Choate
Sent: Friday, July 18, 2014 2:40 PM
To: insight-users at itk.org
Subject: [ITK-users] Does ITK 4.6 support C++11 for OSX?


Hi, has anyone successfully used ITK 4.6 with a project built in XCode 5 for C++11?



Right now, we're getting 'Undefined symbols for architecture x86_64' for many symbols, such as itk::ProcessObject::MakeOutput when linking.



The owner of ITK on our team says this is caused by ITK not supporting C++11.  Is this true?



He rebuilt ITK 4.6 with C++11 flags.



Thank you!

________________________________
Email Disclaimer: www.stjude.org/emaildisclaimer
Consultation Disclaimer: www.stjude.org/consultationdisclaimer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20140718/552070ef/attachment-0001.html>


More information about the Insight-users mailing list