[Insight-users] Problem compiling with ITK 3.16.0 in Linux
Alfonso Castro Martinez
alfonsocastro at udc.es
Wed Oct 14 13:56:08 EDT 2009
Hi.
I have a program to preprocess lung TACs made with ITK. I don't have problems
compiling this program in OpenSuSE 11.1 x86_64 with ITK 3.12.0 but when I
compile it with ITK 3.16.0. I obtain the next error:
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:46:
error: expected ‘,’ or ‘...’ before ‘*’ token
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:46:
error: ISO C++ forbids declaration of ‘SourceImageType’ with no type
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:46:
error: prototype for ‘void itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::SetSourceImage(int)’ does not match any in class
‘itk::PasteImageFilter<TInputImage, TSourceImage, TOutputImage>’
/mia/itk/preprocesado tac pulmon/Codigo/src/itkPasteImageFilter.h:53: error:
candidate is: void itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::SetSourceImage(TSourceImage*)
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:55:
error: prototype for ‘const typename itk::PasteImageFilter<TInputImage,
TSourceImage, TOutputImage>::SourceImageType*
itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::GetSourceImage() const’ does not match any in class
‘itk::PasteImageFilter<TInputImage, TSourceImage, TOutputImage>’
/mia/itk/preprocesado tac pulmon/Codigo/src/itkPasteImageFilter.h:54: error:
candidate is: const TSourceImage* itk::PasteImageFilter<TInputImage,
TSourceImage, TOutputImage>::GetSourceImage()
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:65:
error: expected ‘,’ or ‘...’ before ‘*’ token
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:65:
error: ISO C++ forbids declaration of ‘InputImageType’ with no type
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:65:
error: prototype for ‘void itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::SetDestinationImage(int)’ does not match any in class
‘itk::PasteImageFilter<TInputImage, TSourceImage, TOutputImage>’
/mia/itk/preprocesado tac pulmon/Codigo/src/itkPasteImageFilter.h:51: error:
candidate is: void itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::SetDestinationImage(TInputImage*)
/toolkits/InsightToolkit-3.16.0/Code/BasicFilters/itkPasteImageFilter.txx:74:
error: prototype for ‘const typename itk::PasteImageFilter<TInputImage,
TSourceImage, TOutputImage>::InputImageType*
itk::PasteImageFilter<TInputImage, TSourceImage,
TOutputImage>::GetDestinationImage() const’ does not match any in class
‘itk::PasteImageFilter<TInputImage, TSourceImage, TOutputImage>’
Can some help me, please?
Thanks in advance.
Alfonso Castro Martinez
Dept. of Information and Communication Technologies
University of A Coruna
Spain
More information about the Insight-users
mailing list