[Insight-users] ITK 3.0.1 Compilation error

Patrick Cheng cheng at isis.georgetown.edu
Fri Feb 2 11:42:30 EST 2007


Hi ITK developers,

I am using Visual Studio 2005 (no service pack), CMake  2.4.5
And ITK 3.0.1 from CVS check out. (-r ITK-3-0-1)

I have the following error message:

c:\research\itk\insight\code\common\itkCenteredEuler3DTransform.txx(203) 
: error C2244: 'itk::CenteredEuler3DTransform<TScalarType>::GetJacobian' 
: unable to match function definition to an existing declaration
2> 
c:\research\itk\insight\code\common\itkCenteredEuler3DTransform.h(95) : 
see declaration of 'itk::CenteredEuler3DTransform<TScalarType>::GetJacobian'
2>        definition
2>        'const Euler3DTransform<TScalarType>::JacobianType 
&itk::CenteredEuler3DTransform<TScalarType>::GetJacobian(const 
itk::Point<TScalarType,(itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::InputSpaceDimension> 
&) const'
2>        existing declarations
2>        'const 
itk::CenteredEuler3DTransform<TScalarType>::JacobianType 
&itk::CenteredEuler3DTransform<TScalarType>::GetJacobian(const 
itk::Point<TScalarType,(itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::InputSpaceDimension> 
&) const'


Thank you,

Patrick


More information about the Insight-users mailing list