[Insight-users] ItkCommon error when build itk3.0.0

Chris Lee yuexili at gmail.com
Mon Mar 12 09:36:10 EST 2007


Hi, itkers

When I installed and build itk 3.0.0 in VC2005, it report the error as the
following:

------ Build started: Project: ITKCommon, Configuration: Debug Win32 ------
Compiling...
itkTransformFactoryBase.cxx
e:\itk software\insighttoolkit-
3.0.0\code\common\itkCenteredEuler3DTransform.txx(203) : error C2244:
'itk::CenteredEuler3DTransform<TScalarType>::GetJacobian' : unable to match
function definition to an existing declaration
        e:\itk software\insighttoolkit-
3.0.0\code\common\itkCenteredEuler3DTransform.h(95) : see declaration of
'itk::CenteredEuler3DTransform<TScalarType>::GetJacobian'
        definition
        'const Euler3DTransform<TScalarType>::JacobianType
&itk::CenteredEuler3DTransform<TScalarType>::GetJacobian(const
itk::Point<TScalarType,(itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::InputSpaceDimension>
&) const'
        existing declarations
        'const itk::CenteredEuler3DTransform<TScalarType>::JacobianType
&itk::CenteredEuler3DTransform<TScalarType>::GetJacobian(const
itk::Point<TScalarType,(itk::MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::InputSpaceDimension>
&) const'
Build log was saved at "
file://f:\ITKBin300NoExamples\Code\Common\ITKCommon.dir\Debug\BuildLog.htm<file:///f:/ITKBin300NoExamples/Code/Common/ITKCommon.dir/Debug/BuildLog.htm>
"
ITKCommon - 1 error(s), 0 warning(s)

Other projects are all built based on itkCommon.lib, as a result, I can't
use itk at all.

I'm sure that I did not modify any code in itk, so I wonder why this
happened.

Has anybody met the same problem or can you tell me how to solve it?

Thanks a lot!!

-- 
Best wishes,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070312/cbab12aa/attachment.htm


More information about the Insight-users mailing list