[Insight-users] Someone build ITK 3.0.1 with Visual Studio when Servicepack 1 installed ?

Wes Turner wes.turner at kitware.com
Tue Jan 30 14:20:00 EST 2007


This seems to have been fixed in the repository so I believe a fresh
checkout should work.  Otherwise, you need to change the declaration in the
txx file to:

const typename CenteredEuler3DTransform<TScalarType>::JacobianType &
CenteredEuler3DTransform<TScalarType>::
GetJacobian( const InputPointType & p ) const

You may run into a similar problem with
itkWeightedCentroidKdTreeGenerator.txx.  If you do, change the declaration
of GenerateNonTerminalNode to:

template< class TSample >
inline typename WeightedCentroidKdTreeGenerator< TSample >::KdTreeNodeType*
WeightedCentroidKdTreeGenerator< TSample >
::GenerateNonterminalNode(int beginIndex,
                          int endIndex,
                          MeasurementVectorType &lowerBound,
                          MeasurementVectorType &upperBound,
                          int level)

- Wes


On 1/30/07, Thomas Lambertz <thomas at hexerei-software.de> wrote:
>
> Hi all,
>
> when i try to build ITK 3.0.1 i get the following error:
>
> c:\itk\code\common\itkCenteredEuler3DTransform.txx(203) : error C2244:
> 'itk::CenteredEuler3DTransform<TScalarType>::GetJacobian' : unable to
> match function definition to an existing declaration
>         c:\itk\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'
>
> Configuration is:
>
> Windows XP Prof. 64Bit
> Visual Studio 2005 Prof. with installed service pack 1
> Build for Release/Win32
>
> Check on another maschine running WinXP 32, Visual Studio 2005 without
> SP1 gives a complete run. So i suspect some interference caused bei the
> service pack 1 for Visual Studio 2005.
>
> Can someone confirm this ?
>
> Regards,
> Tom
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>



-- 
Wesley D. Turner, Ph.D.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070130/4da4addc/attachment.htm


More information about the Insight-users mailing list