[Insight-users] Error installing ITK with Python Wrapping

Matt McCormick matt.mccormick at kitware.com
Tue Sep 17 12:36:22 EDT 2013


Yes, those are the files.  So, it looks like you are using the system
version of Python.  I am not sure what that was built with either, but
a common problem with OSX is that it ships with two compilers, GCC and
Clang, and it can be problematic to mix the two.  From your error
message:

  /usr/bin/../lib/clang/4.2/include/limits.h:37:54: error:

  /usr/include/c++/4.2.1/climits:50

These paths are suspicious.

Maybe try a clean build, with the initial configure command,

 CC=gcc CXX=g++ cmake /Applications/ITK/src/

HTH,
Matt

On Tue, Sep 17, 2013 at 3:47 PM, DVigneault <davis.vigneault at gmail.com> wrote:
> Thanks so much for the response!  I'm not sure which compiler was used.  I
> found the following in the CMakeCache.txt file--is this what you're
> referring to?
>
> //Path to a file.
> PYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Headers
>
> //Path to a library.
> PYTHON_LIBRARY:FILEPATH=/usr/lib/libpython2.7.dylib
>
> Best,
>
> --Davis
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Error-installing-ITK-with-Python-Wrapping-tp7583976p7583981.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> 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


More information about the Insight-users mailing list