[Insight-users] compilation of ITK with Wrap Python on fails on osx 10.8.4
Juan Cardelino
juan.cardelino at gmail.com
Sun Feb 16 10:28:25 EST 2014
Matt,
Thanks for the answer. I got stuck with other things and missed this
e-mail. I will try that as soon as possible. Thanks.
On Wed, Jul 17, 2013 at 1:29 AM, Matt McCormick
<matt.mccormick at kitware.com>wrote:
> Hi Juan,
>
> It is important to use the same compiler that was used to build the
> Python you are building against (see the CMake cache variables
> PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR, and PYTHON_LIBRARY).
>
> HTH,
> Matt
>
> On Wed, Jul 10, 2013 at 8:46 AM, Juan Cardelino
> <juan.cardelino at gmail.com> wrote:
> > When enabling Wrap Python I'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.
> >
> > CMAKE OPTIONS
> > =================
> > BUILD_SHARED_LIBS = ON
> > CMAKE_BUILD_TYPE = Release
> > ITK_USE_REVIEW = ON
> > ITK_WRAPPING = ON
> > ITK_WRAP_PYTHON = ON
> >
> > COMPILER
> > =========
> > clang --version
> > Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM
> 3.1svn)
> > Target: x86_64-apple-darwin12.4.0
> > Thread model: posix
> >
> >
> > ITK VERSION (GIT)
> > ===============
> > juan at invasor : ~/juanc/soft/develop/ITK
> >> git tag -l
> > v4.4.0
> > v4.4rc01
> > v4.4rc02
> >
> > juan at invasor : ~/juanc/soft/develop/ITK
> >> git log --pretty=format:"%H" -1
> > d68d7a262bfc2ec40164670832d0d1478cf3ec65
> >
> > ERROR MESSAGE
> > ===============
> >
> > Scanning dependencies of target ITKCommonGccXML
> > [ 22%] Generating vcl_complex.xml
> > In file included from /usr/include/c++/4.2.1/climits:50,
> > from /usr/include/c++/4.2.1/bits/stl_algobase.h:67,
> > from /usr/include/c++/4.2.1/bits/char_traits.h:46,
> > from /usr/include/c++/4.2.1/string:47,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkMacro.h:46,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkLightObject.h:21,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkObject.h:31,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkCommand.h:21,
> > from
> >
> /Users/juan/juanc/soft/build/ITK/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
> > /usr/bin/../lib/clang/4.0/include/limits.h:37:54: error: missing binary
> > operator before token "("
> > In file included from /usr/include/c++/4.2.1/bits/postypes.h:49,
> > from /usr/include/c++/4.2.1/iosfwd:49,
> > from /usr/include/c++/4.2.1/bits/stl_algobase.h:70,
> > from /usr/include/c++/4.2.1/bits/char_traits.h:46,
> > from /usr/include/c++/4.2.1/string:47,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkMacro.h:46,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkLightObject.h:21,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkObject.h:31,
> > from
> >
> /Users/juan/juanc/soft/develop/ITK/Modules/Core/Common/include/itkCommand.h:21,
> > from
> >
> /Users/juan/juanc/soft/build/ITK/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
> > /usr/bin/../lib/clang/4.0/include/stdint.h:32:54: error: missing binary
> > operator before token "("
> > make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1
> > make[1]: ***
> [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all]
> > Error 2
> > make: *** [all] Error 2
> >
> > _____________________________________
> > 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://www.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-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140216/76aee246/attachment.html>
More information about the Insight-users
mailing list