[Insight-users] Someone build ITK 3.0.1 with Visual Studio when
Servicepack 1 installed ?
Thomas Lambertz
thomas at hexerei-software.de
Tue Jan 30 14:51:46 EST 2007
Hi Wes,
thank you for your fast response. I am facing the deadline for my
graduate work, so i want to use a official release of ITK for the final
build. I havent tried, but i suspect earlier releases as 2.8/3.0 will
face the same problem introduced by the SP1. So i will rebuild all
without SP1 installed and implement a notice for further use of the
project with your suggested patch.
Thank you,
Tom
Wes Turner wrote:
> 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
> <mailto: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 <mailto: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
More information about the Insight-users
mailing list