[Insight-developers] Problems building ITK against llvm libc++ (in C++11 mode)

Sean McBride sean at rogue-research.com
Wed Oct 23 11:14:51 EDT 2013


On Thu, 17 Oct 2013 13:47:22 -0400, Sean McBride said:

>I've just tried building ITK master against llvm's libc++ (in C++11 mode):
><http://libcxx.llvm.org>
>
>I've hit 2 errors:
>
>1) ITK/Modules/Core/Common/src/itkProcessObject.cxx:1166:10: error: no
>viable conversion from 'std::__1::basic_istream<char>' to 'bool'
>  return (std::istringstream(idxStr) >> idx);
>         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>2) ITK/Modules/Core/Common/include/itkImageAlgorithm.h:24:12: fatal
>error: 'tr1/type_traits' file not found
>#  include <tr1/type_traits>
>           ^

Now that OS X 10.9 Mavericks is public, and the NDA is lifted, I'll just add that libc++ is now the default C++ library on OS X, so getting ITK to build against it would be nice. :)  I've added a 10.9 dashboard too, and it's red because of the above 2 issues:

<http://open.cdash.org/viewBuildError.php?buildid=3070632>

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