[ITK Community] [Insight-users] Build ITK with MSYS

Inspiracionv inspiracionv at gmail.com
Fri Nov 22 14:33:51 EST 2013


Hi, 

I try to build ITK con MSYS Makefile
/C:\msys\1.0\bin/
and MINGW 
/C:\Qt\Qt5.1.1\Tools\mingw48_32\bin/
but in 60% i obtain this error :

                                                        ^
[ 60%] Building CXX object
Modules/Filtering/ImageFilterBase/test/CMakeFiles/ITK
ImageFilterBaseTestDriver.dir/itkCastImageFilterTest.cxx.obj
In file included from c:/ITK/src/Modules/Core/Common/include/itkMath.h:33:0,
                 from c:/ITK/src/Modules/Core/Common/include/itkIndex.h:23,
                 from
c:/ITK/src/Modules/Core/Common/include/itkContinuousIndex.
h:22,
                 from
c:/ITK/src/Modules/Core/Common/include/itkImageRegion.h:34
,
                 from c:/ITK/src/Modules/Core/Common/include/itkImage.h:21,
                 from
c:/ITK/src/Modules/Core/Common/include/itkImageSource.h:32
,
                 from
c:/ITK/src/Modules/Core/Common/include/itkImageToImageFilt
er.h:31,
                 from
c:/ITK/src/Modules/Core/Common/include/itkInPlaceImageFilt
er.h:31,
                 from
c:/ITK/src/Modules/Core/Common/include/itkUnaryFunctorImag
eFilter.h:21,
                 from
c:/ITK/src/Modules/Filtering/ImageFilterBase/include/itkCa
stImageFilter.h:21,
                 from
c:/ITK/src/Modules/Filtering/ImageFilterBase/test/itkCastI
mageFilterTest.cxx:19:
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h: In member
function
'void itk::Concept::HasNumericTraits<T>::Constraints::constraints()':
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:594:59: warning:
typ
edef 'ValueType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::ValueType      ValueType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:595:59: warning:
typ
edef 'PrintType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::PrintType      PrintType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:596:59: warning:
typ
edef 'AbsType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::AbsType        AbsType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:597:59: warning:
typ
edef 'AccumulateType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::AccumulateType AccumulateType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:598:59: warning:
typ
edef 'RealType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::RealType       RealType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:599:59: warning:
typ
edef 'ScalarRealType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::ScalarRealType ScalarRealType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:600:59: warning:
typ
edef 'FloatType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename NumericTraits< T >::FloatType      FloatType;
                                                           ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h: In member
function
'void itk::Concept::HasPixelTraits<T>::Constraints::constraints()':
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:628:52: warning:
typ
edef 'ValueType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename PixelTraits< T >::ValueType ValueType;
                                                    ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h: In member
function
'void itk::Concept::HasValueType<T>::Constraints::constraints()':
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:643:37: warning:
typ
edef 'ValueType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename T::ValueType ValueType;
                                     ^
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h: In member
function
'void itk::Concept::HasJoinTraits<T1, T2>::Constraints::constraints()':
c:/ITK/src/Modules/Core/Common/include/itkConceptChecking.h:672:56: warning:
typ
edef 'ValueType' locally defined but not used [-Wunused-local-typedefs]
       typedef typename JoinTraits< T1, T2 >::ValueType ValueType;
                                                        ^
c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
/i686-w64-mingw32/bin/as.exe:
CMakeFiles/ITKImageFilterBaseTestDriver.dir/itkCas
tImageFilterTest.cxx.obj: too many sections (33359)
C:\Users\Thomas\AppData\Local\Temp\ccXr0hQT.s: Assembler messages:
C:\Users\Thomas\AppData\Local\Temp\ccXr0hQT.s: Fatal error: can't write
CMakeFil
es/ITKImageFilterBaseTestDriver.dir/itkCastImageFilterTest.cxx.obj: File too
big

c:/qt/qt5.1.1/tools/mingw48_32/bin/../lib/gcc/i686-w64-mingw32/4.8.0/../../../..
/i686-w64-mingw32/bin/as.exe:
CMakeFiles/ITKImageFilterBaseTestDriver.dir/itkCas
tImageFilterTest.cxx.obj: too many sections (33359)
C:\Users\Thomas\AppData\Local\Temp\ccXr0hQT.s: Fatal error: can't close
CMakeFil
es/ITKImageFilterBaseTestDriver.dir/itkCastImageFilterTest.cxx.obj: File too
big

make[2]: ***
[Modules/Filtering/ImageFilterBase/test/CMakeFiles/ITKImageFilterBa
seTestDriver.dir/itkCastImageFilterTest.cxx.obj] Error 1
make[1]: ***
[Modules/Filtering/ImageFilterBase/test/CMakeFiles/ITKImageFilterBa
seTestDriver.dir/all] Error 2
make: *** [all] Error 2



Some days before i compiled it with success but after a mistake i needed to
rebuild and i cannot.




--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/Build-ITK-with-MSYS-tp7584435.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 Community mailing list