[Insight-developers] compile erros under linux
Damion Shelton
dmsst59+@pitt.edu
Tue, 26 Jun 2001 13:03:13 -0400
Hi...
I'm in the process of cleaning up some errors that appeared on the
dashboard. The majority of them were from missing includes, but there are
several of the following type:
The line of code:
TInputImage::SizeType size = inputPtr->GetLargestPossibleRegion().GetSize();
...generates the error:
member function `void itk::BinomialBlurImageFilter<TInputImage,
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkBinomialBlu
rImageFilter.txx:41: parse
In file included from
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkDifferenceO
fGaussiansGradientImageFilter.h:152,
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkDifferenceO
fGaussiansGradientImageFilter.txx: In
itk::DifferenceOfGaussiansGradientImageFilter<TInputImage, TScalarType,
TVectorType>::GenerateData()':
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkDifferenceO
fGaussiansGradientImageFilter.txx:34: parse
error before `=' token
In file included from
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkGradientToM
agnitudeImageFilter.h:135,
from
/home/kingb/Programs/ABuild/Nightly/Insight/Testing/Code/BasicFilters/itkBas
icFiltersHeaderTest.cxx:44:
/home/kingb/Programs/ABuild/Nightly/Insight/Code/BasicFilters/itkGradientToM
agnitudeImageFilter.txx: In
member function `void itk::GradientToMagnitudeImageFilter<TInputImage,
TOutputImage>::GenerateData()':
TInputImage has the typename flag in the function declaration, so what's the
problem? This compiles fine under Windows, and on most of the non-linux Unix
variants (specifically, this error is on the kitware linux machine).
Any suggestions would be much appreciated.
-Damion-