[Insight-users] build errors in windows (ITK-4.0 GIT version)

Juan Cardelino juan.cardelino at gmail.com
Sun Jun 19 23:29:16 EDT 2011


Dear all,
             I've been using  ITK 4 from git from more than a year
without any problems under linux, and some time ago I've also tried it
successfully on  windows. However I can't rebuild it anymore. However
trying building with today's version (06/19/2011) I'm getting the
following error. I've tried changing many cmake options (static and
shared libs, enabling/disabling modules, etc), but I always get the
same.
I'm using windows vista and visual studio 2005. Any help will be appreciated.

---------------------------- ERROR MESSAGE  ----------------------------

13>------ Build started: Project: itktiff, Configuration: Debug Win32 ------
13>Compiling...
13>tif_fax3sm.c
13>tif_win32.c
12>itkNumericTraitsDiffusionTensor3DPixel.cxx
13>tif_jpeg.c
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkVector.txx(146)
: error C2244: 'itk::Vector<T,NVectorDimension>::GetSquaredNorm' :
unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkVector.h(211)
: see declaration of 'itk::Vector<T,NVectorDimension>::GetSquaredNorm'
12>        definition
12>        'Vector<T,NVectorDimension>::RealValueType
itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkVector.txx(157)
: error C2244: 'itk::Vector<T,NVectorDimension>::GetNorm' : unable to
match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkVector.h(208)
: see declaration of 'itk::Vector<T,NVectorDimension>::GetNorm'
12>        definition
12>        'Vector<T,NVectorDimension>::RealValueType
itk::Vector<T,NVectorDimension>::GetNorm(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::Vector<T,NVectorDimension>::GetNorm(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkCovariantVector.txx(187)
: error C2244: 'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm'
: unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkCovariantVector.h(225)
: see declaration of
'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm'
12>        definition
12>        'CovariantVector<T,NVectorDimension>::RealValueType
itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkCovariantVector.txx(198)
: error C2244: 'itk::CovariantVector<T,NVectorDimension>::GetNorm' :
unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkCovariantVector.h(216)
: see declaration of
'itk::CovariantVector<T,NVectorDimension>::GetNorm'
12>        definition
12>        'CovariantVector<T,NVectorDimension>::RealValueType
itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkSymmetricSecondRankTensor.txx(264)
: error C2244: 'itk::SymmetricSecondRankTensor<TComponent,NDimension>::GetTrace'
: unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkSymmetricSecondRankTensor.h(178)
: see declaration of
'itk::SymmetricSecondRankTensor<TComponent,NDimension>::GetTrace'
12>        definition
12>        'SymmetricSecondRankTensor<TComponent,NDimension>::AccumulateValueType
itk::SymmetricSecondRankTensor<TComponent,NDimension>::GetTrace(void)
const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::SymmetricSecondRankTensor<TComponent,NDimension>::GetTrace(void)
const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.txx(119)
: error C2244: 'itk::DiffusionTensor3D<TComponent>::GetTrace' : unable
to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.h(129)
: see declaration of 'itk::DiffusionTensor3D<TComponent>::GetTrace'
12>        definition
12>        'DiffusionTensor3D<TComponent>::AccumulateValueType
itk::DiffusionTensor3D<TComponent>::GetTrace(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::DiffusionTensor3D<TComponent>::GetTrace(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.txx(146)
: error C2244: 'itk::DiffusionTensor3D<TComponent>::GetFractionalAnisotropy'
: unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.h(132)
: see declaration of
'itk::DiffusionTensor3D<TComponent>::GetFractionalAnisotropy'
12>        definition
12>        'DiffusionTensor3D<TComponent>::RealValueType
itk::DiffusionTensor3D<TComponent>::GetFractionalAnisotropy(void)
const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::DiffusionTensor3D<TComponent>::GetFractionalAnisotropy(void)
const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.txx(180)
: error C2244: 'itk::DiffusionTensor3D<TComponent>::GetRelativeAnisotropy'
: unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.h(135)
: see declaration of
'itk::DiffusionTensor3D<TComponent>::GetRelativeAnisotropy'
12>        definition
12>        'DiffusionTensor3D<TComponent>::RealValueType
itk::DiffusionTensor3D<TComponent>::GetRelativeAnisotropy(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::DiffusionTensor3D<TComponent>::GetRelativeAnisotropy(void) const'
12>d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.txx(198)
: error C2244: 'itk::DiffusionTensor3D<TComponent>::GetInnerScalarProduct'
: unable to match function definition to an existing declaration
12>        d:\juan\develop\itk-dev\itk-src\itk\modules\core\common\include\itkDiffusionTensor3D.h(138)
: see declaration of
'itk::DiffusionTensor3D<TComponent>::GetInnerScalarProduct'
12>        definition
12>        'DiffusionTensor3D<TComponent>::RealValueType
itk::DiffusionTensor3D<TComponent>::GetInnerScalarProduct(void) const'
12>        existing declarations
12>        'NumericTraits<T>::RealType
itk::DiffusionTensor3D<TComponent>::GetInnerScalarProduct(void) const'


More information about the Insight-users mailing list