[ITK-users] ITK 4.8 build error

Tim Allman dr.tim.allman at gmail.com
Mon Jul 20 10:35:17 EDT 2015


I haven't run into this before so I hope someone can help. I am trying 
to build the libraries using

    CMAKE_CXX_FLAGS = -std=gnuc++98 and -stdlib=libstdc++.

As far as I know this is the only significant modification to the Cmake 
file.

All is well until the build stops with this error:

    ../InsightToolkit-4.8.0/Modules/Core/Common/include/itkImageAlgorithm.h:24:12:
    fatal error:
           'type_traits' file not found
    #  include <type_traits>

I am building on OSX with Xcode 6.2. Here is the clang version info.

    celia:tim-[InsightToolkit-4.8.0-build]: c++ --version
    Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
    Target: x86_64-apple-darwin13.4.0
    Thread model: posix

Thanks,
Tim

-- 
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150720/86822ce2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr_tim_allman.vcf
Type: text/x-vcard
Size: 151 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150720/86822ce2/attachment.vcf>


More information about the Insight-users mailing list