[Insight-users] building ITK with Python wrappers on Ubuntu 13.04

Young Lee s43Lee at ucsd.edu
Sat Jun 29 18:09:53 EDT 2013


Hi,

I was wondering if anyone had any suggestions on the error I'm getting 
when I try to build ITK 4.4.0 with Python wrappers on Ubuntu 13.04.  I'm 
able to build it OK on RHEL 6.2 and Ubuntu 12.04.  I can also build 
ITK4.4.0  on Ubntu 13.04 without problems if I turn off the Python 
wrappers option.  But when I try to build ITK4.4.0 with Python wrappers 
on Ubuntu 13.04,  I get the following error message:

[ 43%] Generating vcl_complex.xml
In file included from /usr/include/endian.h:60,
                  from /usr/include/ctype.h:40,
                  from /usr/include/c++/4.7/cctype:44,
                  from /usr/include/c++/4.7/bits/localefwd.h:44,
                  from /usr/include/c++/4.7/string:45,
                  from 
/home/young/prog/Lin/ITK/InsightToolkit-4.4.0/Modules/Core/Common/include/itkMacro.h:46,
                  from 
/home/young/prog/Lin/ITK/InsightToolkit-4.4.0/Modules/Core/Common/include/itkLightObject.h:21,
                  from 
/home/young/prog/Lin/ITK/InsightToolkit-4.4.0/Modules/Core/Common/include/itkObject.h:31,
                  from 
/home/young/prog/Lin/ITK/InsightToolkit-4.4.0/Modules/Core/Common/include/itkCommand.h:21,
                  from 
/home/young/prog/Lin/ITK/ITKBuild4.4.0/Wrapping/Modules/ITKCommon/vcl_complex.cxx:1:
/usr/include/x86_64-linux-gnu/bits/byteswap.h: In function 'unsigned int 
__bswap_32(unsigned int)':
/usr/include/x86_64-linux-gnu/bits/byteswap.h:47: error: 
'__builtin_bswap32' was not declared in this scope
/usr/include/x86_64-linux-gnu/bits/byteswap.h: In function '__uint64_t 
__bswap_64(__uint64_t)':
/usr/include/x86_64-linux-gnu/bits/byteswap.h:111: error: 
'__builtin_bswap64' was not declared in this scope
make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1
make[1]: *** 
[Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all] Error 2

Thanks
Young




More information about the Insight-users mailing list