[Insight-developers] (no subject)

Yinpeng Jin yj76@columbia.edu
Mon, 6 Aug 2001 17:41:16 -0400


Tons of complier errors after a fresh checkout (as listed below), any ideas?

--------------------Configuration: itkVoronoiSegmentationImageFilterTest -
Win32 Debug--------------------
Performing Custom Build Step on
"C:/ITK/Insight/Testing/Code/Algorithms/CMakeLists.txt"
Compiling...
itkVoronoiSegmentationImageFilterTest.cxx
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(652) : error C2143: syntax
error : missing ',' before '&'
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(652) : error C2059: syntax
error : '&'
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(675) : error C2244:
'AffineTransform<TScalarType,TParameters,TParameters,TJacobianType>::SetPara
meters' : unable to resolve function overload
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(679) : error C2954:
template definitions cannot nest
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(681) : error C2039:
'JacobianType' : is not a member of
'AffineTransform<TScalarType,TParameters,TParameters,TJacobianType>'
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(681) : error C2143: syntax
error : missing ';' before '&'
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(681) : error C2734:
'JacobianType' : const object must be initialized if not extern
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(681) : error C2734:
'JacobianType' : const object must be initialized if not extern
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(681) : error C2059: syntax
error : ';'
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(682) : error C2065:
'ScalarType' : undeclared identifier
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(682) : error C2065:
'NDimensions' : undeclared identifier
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(682) : error C2065:
'TParameters' : undeclared identifier
C:/ITK/Insight/Code/Common\itkAffineTransform.txx(682) : error C2065:
'TJacobianType' : undeclared identifier
C:/ITK/Insight/Code/Common\itkContinuousIndex.h(67) : error C2954: template
definitions cannot nest
C:/ITK/Insight/Code/Common\itkContinuousIndex.h(115) : error C2146: syntax
error : missing ';' before identifier 'ContinuousIndex'
        C:/ITK/Insight/Code/Common\itkContinuousIndex.h(133) : see reference
to class template instantiation
'itk::ContinuousIndex<TCoordRep,`template-parameter259'>' being compiled
C:/ITK/Insight/Code/Common\itkImage.h(186) : error C2039: 'OffsetType' : is
not a member of 'AffineTransform<double,1,class itk::Point<double,2>,class
itk::Matrix<double,1,2> >'
        C:/ITK/Insight/Code/Common\itkImage.h(454) : see reference to class
template instantiation 'itk::Image<TPixel,VImageDimension,TImageTraits>'
being compiled
C:/ITK/Insight/Code/Common\itkImage.h(191) : error C2059: syntax error :
'return'
        C:/ITK/Insight/Code/Common\itkImage.h(454) : see reference to class
template instantiation 'itk::Image<TPixel,VImageDimension,TImageTraits>'
being compiled
C:/ITK/Insight/Code/Common\itkImage.h(191) : error C2238: unexpected
token(s) preceding ';'
        C:/ITK/Insight/Code/Common\itkImage.h(454) : see reference to class
template instantiation 'itk::Image<TPixel,VImageDimension,TImageTraits>'
being compiled
C:/ITK/Insight/Code/Common\itkImage.txx(65) : error C2995:
'ImageBase<VImageDimension>::ImageBase<VImageDimension>' : template function
has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(309) : see declaration of
'ImageBase<VImageDimension>::ImageBase<VImageDimension>'
C:/ITK/Insight/Code/Common\itkImage.txx(75) : error C2995:
'ImageBase<VImageDimension>::~ImageBase<VImageDimension>' : template
function has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(310) : see declaration of
'ImageBase<VImageDimension>::~ImageBase<VImageDimension>'
C:/ITK/Insight/Code/Common\itkImage.txx(82) : error C2039: 'Allocate' : is
not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(98) : error C2039: 'SetSpacing' : is
not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(122) : error C2039: 'SetSpacing' :
is not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(151) : error C2995: 'GetSpacing' :
template function has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(161) : see declaration of
'GetSpacing'
C:/ITK/Insight/Code/Common\itkImage.txx(160) : error C2039: 'SetOrigin' : is
not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(185) : error C2039: 'SetOrigin' : is
not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(210) : error C2039: 'SetOrigin' : is
not a member of 'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(210) : error C2143: syntax error :
missing ',' before '&'
C:/ITK/Insight/Code/Common\itkImage.txx(210) : error C2059: syntax error :
'&'
C:/ITK/Insight/Code/Common\itkImage.txx(238) : error C2995: 'GetOrigin' :
template function has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(169) : see declaration of
'GetOrigin'
C:/ITK/Insight/Code/Common\itkImage.txx(243) : error C2039: 'Pointer' : is
not a member of 'AffineTransform<double,1,class itk::Point<double,2>,class
itk::Matrix<double,1,2> >'
C:/ITK/Insight/Code/Common\itkImage.txx(244) : error C2039:
'GetIndexToPhysicalTransform' : is not a member of
'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(244) : error C2146: syntax error :
missing ';' before identifier 'GetIndexToPhysicalTransform'
C:/ITK/Insight/Code/Common\itkImage.txx(244) : error C2501: 'Pointer' :
missing storage-class or type specifiers
C:/ITK/Insight/Code/Common\itkImage.txx(244) : error C2059: syntax error :
';'
C:/ITK/Insight/Code/Common\itkImage.txx(269) : error C2954: template
definitions cannot nest
C:/ITK/Insight/Code/Common\itkImage.txx(271) : error C2039: 'Pointer' : is
not a member of 'AffineTransform<double,1,class itk::Point<double,2>,class
itk::Matrix<double,1,2> >'
C:/ITK/Insight/Code/Common\itkImage.txx(272) : error C2039:
'GetPhysicalToIndexTransform' : is not a member of
'Image<TPixel,VImageDimension,TImageTraits>'
C:/ITK/Insight/Code/Common\itkImage.txx(272) : error C2146: syntax error :
missing ';' before identifier 'GetPhysicalToIndexTransform'
C:/ITK/Insight/Code/Common\itkImage.txx(272) : error C2501: 'Pointer' :
missing storage-class or type specifiers
C:/ITK/Insight/Code/Common\itkImage.txx(272) : error C2086: 'Pointer' :
redefinition
C:/ITK/Insight/Code/Common\itkImage.txx(272) : error C2059: syntax error :
';'
C:/ITK/Insight/Code/Common\itkImage.txx(296) : error C2954: template
definitions cannot nest
C:/ITK/Insight/Code/Common\itkImage.txx(323) : error C2995:
'CopyInformation' : template function has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(298) : see declaration of
'CopyInformation'
C:/ITK/Insight/Code/Common\itkImage.txx(337) : error C2995: 'PrintSelf' :
template function has already been defined
        C:/ITK/Insight/Code/Common\itkImageBase.h(313) : see declaration of
'PrintSelf'
Error executing cl.exe.

itkVoronoiSegmentationImageFilterTest.exe - 45 error(s), 0 warning(s)