<div dir="ltr"><div style>When enabling Wrap Python I&#39;m not able to compile ITK with clang on osx. Details abouT my setup follows. The error message is at the end of the e-mail.</div><div style><br></div><div style>CMAKE OPTIONS</div>
<div style><span style="font-family:Calibri,sans-serif;font-size:13.63636302947998px">=========</span><span style="font-family:Calibri,sans-serif;font-size:13.63636302947998px">========</span><br></div><div style><div style="font-family:Calibri,sans-serif;font-size:14px">
BUILD_SHARED_LIBS = ON</div><div style="font-family:Calibri,sans-serif;font-size:14px">CMAKE_BUILD_TYPE = Release</div><div style="font-family:Calibri,sans-serif;font-size:14px">ITK_USE_REVIEW = ON</div><div style="font-family:Calibri,sans-serif;font-size:14px">
ITK_WRAPPING = ON</div><div style="font-family:Calibri,sans-serif;font-size:14px">ITK_WRAP_PYTHON = ON</div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div><div style="font-family:Calibri,sans-serif;font-size:14px">
COMPILER</div><div style="font-family:Calibri,sans-serif;font-size:14px">=========</div><div><font face="Calibri, sans-serif"><div>clang --version</div><div>Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)</div>
<div>Target: x86_64-apple-darwin12.4.0</div><div>Thread model: posix</div></font></div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div>
<div style="font-family:Calibri,sans-serif;font-size:14px">ITK VERSION (GIT)</div><div style="font-family:Calibri,sans-serif;font-size:14px">===============</div><div><font face="Calibri, sans-serif"><div>juan@invasor : ~/juanc/soft/develop/ITK </div>
<div>&gt; git tag -l</div><div><div>v4.4.0</div><div>v4.4rc01</div><div>v4.4rc02</div></div><div><br></div><div><div>juan@invasor : ~/juanc/soft/develop/ITK </div><div>&gt; git log --pretty=format:&quot;%H&quot; -1</div><div>
d68d7a262bfc2ec40164670832d0d1478cf3ec65</div></div></font></div><div style="font-family:Calibri,sans-serif;font-size:14px"><br></div><div style="font-family:Calibri,sans-serif;font-size:14px"><span style="font-size:14px">ERROR MESSAGE</span></div>
<div style="font-family:Calibri,sans-serif;font-size:14px"><i style="font-size:14px">===============</i><br></div></div><div><br></div><div>Scanning dependencies of target ITKCommonGccXML</div><div>[ 22%] Generating vcl_complex.xml</div>
<div>In file included from /usr/include/c++/4.2.1/climits:50,</div><div>                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:67,</div><div>                 from /usr/include/c++/4.2.1/bits/char_traits.h:46,</div>
<div>                 from /usr/include/c++/4.2.1/string:47,</div><div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkMacro.h:46,</div><div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkLightObject.h:21,</div>
<div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkObject.h:31,</div><div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkCommand.h:21,</div>
<div>                 from /Users/juan/juanc/soft/build/ITK/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:</div><div>/usr/bin/../lib/clang/4.0/include/limits.h:37:54: error: missing binary operator before token &quot;(&quot;</div>
<div>In file included from /usr/include/c++/4.2.1/bits/postypes.h:49,</div><div>                 from /usr/include/c++/4.2.1/iosfwd:49,</div><div>                 from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,</div><div>
                 from /usr/include/c++/4.2.1/bits/char_traits.h:46,</div><div>                 from /usr/include/c++/4.2.1/string:47,</div><div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkMacro.h:46,</div>
<div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkLightObject.h:21,</div><div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkObject.h:31,</div>
<div>                 from /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkCommand.h:21,</div><div>                 from /Users/juan/juanc/soft/build/ITK/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:</div>
<div>/usr/bin/../lib/clang/4.0/include/stdint.h:32:54: error: missing binary operator before token &quot;(&quot;</div><div>make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1</div><div>make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all] Error 2</div>
<div>make: *** [all] Error 2</div></div>