<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I haven't run into this before so I hope someone can help. I am
trying to build the libraries using<br>
<blockquote>CMAKE_CXX_FLAGS = -std=gnuc++98 and -stdlib=libstdc++.<br>
</blockquote>
As far as I know this is the only significant modification to the
Cmake file.<br>
<br>
All is well until the build stops with this error:<br>
<blockquote>../InsightToolkit-4.8.0/Modules/Core/Common/include/itkImageAlgorithm.h:24:12:
fatal error: <br>
'type_traits' file not found<br>
# include <type_traits><br>
</blockquote>
I am building on OSX with Xcode 6.2. Here is the clang version info.<br>
<blockquote>celia:tim-[InsightToolkit-4.8.0-build]: c++ --version<br>
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)<br>
Target: x86_64-apple-darwin13.4.0<br>
Thread model: posix<br>
</blockquote>
Thanks,<br>
Tim<br>
<pre class="moz-signature" cols="72">--
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada
</pre>
</body>
</html>