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

Karthik Krishnan karthik.krishnan at kitware.com
Mon Mar 12 11:01:49 EST 2007


See
http://public.kitware.com/pipermail/insight-users/2007-February/020864.html

Use the ITK30 branch rather than the download from CVS. Bugs found are fixed
incrementally in the branch..

--
karthik


On 3/12/07, Chris Lee <yuexili at gmail.com> wrote:
>
> 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
> "
> 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
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070312/d1f950b0/attachment.html


More information about the Insight-users mailing list