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

Matt McCormick matt.mccormick at kitware.com
Wed Oct 23 11:20:42 EDT 2013


On Wed, Oct 23, 2013 at 11:14 AM, Sean McBride <sean at rogue-research.com> wrote:
> 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>
>

Nice.  Added to Expected Nightly Exotic until we have it cleaned up.

Thanks,
Matt
_______________________________________________
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