[Insight-users] Build errors on Linux
Karthik Krishnan
Karthik.Krishnan at kitware.com
Thu Jan 19 11:41:59 EST 2006
CVS update again and I think you should be good.. At least last night's
build was fine on gcc 40
http://www.itk.org/Testing/Sites/dash18.kitware/Linux-gcc40/20060119-0100-Nightly/Test.html
There were some changes to VoronoiSegmentationRGBFilter which Bill fixed
today .
bye
karthik
Uwe Köhler wrote:
>Hi folks,
>
>have been using ITK for quite a while now and only recently came accross the
>following problems (all on a 32bit Linux SuSE 10.0 system with the newest CVS
>code).
>
>gcc --version
>gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
>
>Compilation of the test stops with the following error message:
>Building CXX object
>Testing/Code/Algorithms/CMakeFiles/itkAlgorithmsPrintTest3.dir/itkAlgorithmsPrintTest3.o
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:
>In member function ‘void itk::VoronoiSegmentationRGBImageFilter<TInputImage,
>TOutputImage>::SetInput(const typename
>itk::VoronoiSegmentationImageFilterBase<TInputImage, TOutputImage,
>itk::Image<unsigned char, 2u> >::InputImageType*) [with TInputImage =
>main(int, char**)::VectorImageType, TOutputImage = main(int,
>char**)::CharType]’:
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:95:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘SetSize’
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:99:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘GetSize’
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:
>In member function ‘void itk::VoronoiSegmentationRGBImageFilter<TInputImage,
>TOutputImage>::TakeAPrior(const typename
>itk::VoronoiSegmentationImageFilterBase<TInputImage, TOutputImage,
>itk::Image<unsigned char, 2u> >::BinaryObjectImage*) [with TInputImage =
>main(int, char**)::VectorImageType, TOutputImage = main(int,
>char**)::CharType]’:
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:221:
>error: invalid conversion from ‘const itk::Image<unsigned char, 2u>*’ to
>‘itk::Image<unsigned char, 2u>*’
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:221:
>error: initializing argument 1 of
>‘itk::ImageRegionIteratorWithIndex<TImage>::ImageRegionIteratorWithIndex(TImage*,
>const typename itk::ImageRegionConstIteratorWithIndex<TImage>::RegionType&)
>[with TImage = itk::Image<unsigned char, 2u>]’
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:227:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘GetSize’
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:229:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘GetSize’
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:264:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘GetSize’
>/usr/local/src/Insight/Testing/Code/Algorithms/itkAlgorithmsPrintTest3.cxx:174:
>instantiated from here
>/usr/local/src/Insight/Code/Algorithms/itkVoronoiSegmentationRGBImageFilter.txx:300:
>error: ‘class itk::VoronoiSegmentationRGBImageFilter<main(int,
>char**)::VectorImageType, main(int, char**)::CharType>’ has no member named
>‘GetSize’
>make[2]: ***
>[Testing/Code/Algorithms/CMakeFiles/itkAlgorithmsPrintTest3.dir/itkAlgorithmsPrintTest3.o]
>Error 1
>make[1]: ***
>[Testing/Code/Algorithms/CMakeFiles/itkAlgorithmsPrintTest3.dir/all] Error 2
>make: *** [all] Error 2
>
>Anything I am doing wrong?
>
>Uwe
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk.org
>http://www.itk.org/mailman/listinfo/insight-users
>
>
>
More information about the Insight-users
mailing list