[Insight-users] error buildong ITK: gcc 4.7.1 error: '__int128' was not declared in this scope

Antonio Recio amdx64bt at gmail.com
Sat Jun 30 02:39:45 EDT 2012


When I try to build ITK from the repository git://itk.org/ITK.git with
ITK_WRAP_JAVA set ON under linux with gcc 4.7.1, I obtain this error.
Do you know how I can correct this problem? Do I need a patch?

[ 36%] Built target ITKJavaBaseGccXML
[ 36%] Generating vnl_matrix.xml
In file included from
/opt/apps/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/iso/vcl_limits.h:6,
                 from
/opt/apps/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_limits.h:12,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkNumericTraits.h:45,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkNumericTraitsFixedArrayPixel.h:21,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkFixedArray.h:286,
                 from /opt/apps/ITK/Modules/Core/Common/include/itkIndex.h:22,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkLabelObjectLine.h:21,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkLabelObject.h:23,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkShapeLabelObject.h:21,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkStatisticsLabelObject.h:21,
                 from
/opt/apps/ITK-build/Wrapping/Modules/ITKCommon/vcl_complex.cxx:2:
/usr/include/c++/4.7/limits:1405: error: '__int128' was not declared
in this scope
/usr/include/c++/4.7/limits:1405: error: template argument 1 is invalid
/usr/include/c++/4.7/limits:1479: error: template argument 1 is invalid
In file included from
/opt/apps/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/iso/vcl_limits.h:6,
                 from
/opt/apps/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_limits.h:12,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkNumericTraits.h:45,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkNumericTraitsFixedArrayPixel.h:21,
                 from
/opt/apps/ITK/Modules/Core/Common/include/itkFixedArray.h:286,
                 from /opt/apps/ITK/Modules/Core/Common/include/itkIndex.h:22,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkLabelObjectLine.h:21,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkLabelObject.h:23,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkShapeLabelObject.h:21,
                 from
/opt/apps/ITK/Modules/Filtering/LabelMap/include/itkStatisticsLabelObject.h:21,
                 from
/opt/apps/ITK-build/Wrapping/Modules/ITKCommon/vnl_matrix.cxx:2:
/usr/include/c++/4.7/limits:1405: error: '__int128' was not declared
in this scope
/usr/include/c++/4.7/limits:1405: error: template argument 1 is invalid
/usr/include/c++/4.7/limits:1479: error: template argument 1 is invalid
make[2]: *** [Wrapping/Modules/ITKCommon/vnl_matrix.xml] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Wrapping/Modules/ITKCommon/vcl_complex.xml] Error 1
make[1]: *** [Wrapping/Modules/ITKCommon/CMakeFiles/ITKCommonGccXML.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 36%] Built target itkvnl_algo
make: *** [all] Error 2


More information about the Insight-users mailing list