[Insight-users] itkExtractImageFilter.h compiling problem

Di Xiao xiaodimailing at hotmail.com
Thu Sep 9 02:06:35 EDT 2004


Dear all:

I've got a very strange problem while compiling the programm.
Once including itkExtractImageFilter.h (version 1.8) in the program, 
compiling will give following errors.

/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx: In
member function `virtual void itk::ExtractImageFilter<TInputImage,
TOutputImage>::GenerateOutputInformation()':
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:146: 
`
InputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:146: 
`
SpacingType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:147: 
`
InputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:147: 
warning: ISO
C++ forbids declaration of `inputSpacing' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:148: 
`
InputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:148: 
`
PointType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:149: 
`
InputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:149: 
warning: ISO
C++ forbids declaration of `inputOrigin' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151: 
`
OutputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151: 
`
SpacingType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151: 
`
OutputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:151: 
warning: ISO
C++ forbids declaration of `outputSpacing' with no type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152: 
`
OutputImageType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152: 
`
PointType' is not a class or namespace
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152: 
`
OutputImageType' fails to be a typedef or built in type
/usr/local/include/InsightToolkit/BasicFilters/itkExtractImageFilter.txx:152: 
warning: ISO
C++ forbids declaration of `outputOrigin' with no type

Any one can give me a reminder what's wrong with me? Not find
the similiar problem and answer in mailinglist.

Thanks,

Xiao Di

_________________________________________________________________
Find it on the web with MSN Search. http://search.msn.com.sg/



More information about the Insight-users mailing list