[Insight-users] ITK and Python wrapper - build on mac osx 10.6
Massimo Di Stefano
massimodisasha at gmail.com
Tue Jan 25 07:36:07 EST 2011
Hi All,
I'm new to ITK
i'm tring to build it on a mac osx 10.6
i'm using the developer version, using cmake and itk wrap set to ON
seems i'm able to have a succesfull build but it fails at the make install step see the log :
-- Up-to-date: /usr/local/lib/InsightToolkit-4.0/WrapITK/Configuration/Languages/GccXML/gcc_xml.inc.in
-- Up-to-date: /usr/local/lib/InsightToolkit-4.0/WrapITK/Configuration/Languages/GccXML/wrap_.cxx.in
CMake Error at Wrapping/WrapITK/Libraries/VXLNumerics/cmake_install.cmake:31 (FILE):
file INSTALL cannot find
"/Users/Shared/src/ITK/build/Wrapping/WrapITK/Typedefs/vcl_complex.idx".
Call Stack (most recent call first):
Wrapping/WrapITK/Libraries/cmake_install.cmake:32 (INCLUDE)
Wrapping/WrapITK/cmake_install.cmake:51 (INCLUDE)
Wrapping/cmake_install.cmake:32 (INCLUDE)
cmake_install.cmake:46 (INCLUDE)
make: *** [install] Error 1
but i'm really intersted in the ITK python bindings, unlucky if i set to ON
the python wrapper :
WRAP_ITK_PYTHON ON
the build give me errors :
/Users/Shared/src/ITK/build/Wrapping/WrapITK/Languages/Python/PyBase/pyBasePython.cpp:96202: instantiated from here
/Users/Shared/src/ITK/build/Wrapping/WrapITK/Languages/Python/PyBase/pyBasePython.cpp:4881: warning: deprecated conversion from string constant to ‘char*’
Linking CXX shared module ../../../../../bin/_ITKPyBasePython.so
[ 21%] Built target ITKPyBasePython
Scanning dependencies of target VXLNumericsIdx
[ 21%] Generating vcl_complex.xml
In file included from /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/xmmintrin.h:40,
from /usr/lib/gcc/i686-apple-darwin10/4.2.1/include/emmintrin.h:35,
from /Users/Shared/src/ITK/Code/Common/itkMathDetail.h:42,
from /Users/Shared/src/ITK/Code/Common/itkMath.h:32,
from /Users/Shared/src/ITK/Code/Common/itkIndex.h:23,
from /Users/Shared/src/ITK/Code/Review/itkLabelObjectLine.h:21,
from /Users/Shared/src/ITK/Code/Review/itkLabelObject.h:23,
from /Users/Shared/src/ITK/Code/Review/itkShapeLabelObject.h:21,
from /Users/Shared/src/ITK/Code/Review/itkStatisticsLabelObject.h:21,
from /Users/Shared/src/ITK/build/Wrapping/WrapITK/Libraries/VXLNumerics/vcl_complex.cxx:2:
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mmintrin.h: In function 'void _mm_empty()':
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mmintrin.h:68: error: '__builtin_ia32_emms' was not declared in this scope
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mmintrin.h: In function 'long long int __vector__ _mm_cvtsi32_si64(int)':
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mmintrin.h:85: error: '__builtin_ia32_vec_init_v2si' was not declared in this scope
/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/mmintrin.h: In function 'int _mm_cvtsi64_si32(long long int __vector__)':
i posted the full make log on :
http://www.geofemengineering.it/data/itk_build_log.txt
thank you to all for any help!!!
Ciao,
Massimo.
More information about the Insight-users
mailing list