<div><br></div><div>Hello ITK users, </div><div><br></div><div><br></div><div>Kindly help me solve this problem that I'm facing. </div><div>I've worked with ITKv3 for some time and did not experience any problem while building it for the first time. I've tried building ITKv4 in the same manner but many problems crop up. At first, while generating the bin file using CMake it showed many errors. Finally after deselecting 'Build Examples' and 'Build Shared Libraries', the configuration and generation were completed without errors. So, first of all I must ask, what should I do if I want to build the examples too? How is the process of building ITKv4 different from that of ITKv3?</div>
<div><br></div><div><br></div><div>The next problem arose when I opened ALL BUILD using visual studio. I started the build process as usual but once again 36 builds failed. I cannot make heads or tails from the error messages. Please see the error message below and suggest what could be done.</div>
<div><br></div><div>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div><br></div><div>------ Build started: Project: ITKCommon, Configuration: Release x64 ------</div><div>Compiling...</div><div>itkNumericTraitsDiffusionTensor3DPixel.cxx</div><div>d:\itk\source\modules\core\common\include\itkVector.hxx(146) : error C2244: 'itk::Vector<T,NVectorDimension>::GetSquaredNorm' : unable to match function definition to an existing declaration</div>
<div> d:\itk\source\modules\core\common\include\itkVector.h(211) : see declaration of 'itk::Vector<T,NVectorDimension>::GetSquaredNorm'</div><div> definition</div><div> 'Vector<T,NVectorDimension>::RealValueType itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'</div>
<div> existing declarations</div><div> 'NumericTraits<T>::RealType itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'</div><div>d:\itk\source\modules\core\common\include\itkVector.hxx(157) : error C2244: 'itk::Vector<T,NVectorDimension>::GetNorm' : unable to match function definition to an existing declaration</div>
<div> d:\itk\source\modules\core\common\include\itkVector.h(208) : see declaration of 'itk::Vector<T,NVectorDimension>::GetNorm'</div><div> definition</div><div> 'Vector<T,NVectorDimension>::RealValueType itk::Vector<T,NVectorDimension>::GetNorm(void) const'</div>
<div> existing declarations</div><div> 'NumericTraits<T>::RealType itk::Vector<T,NVectorDimension>::GetNorm(void) const'</div><div>d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(187) : error C2244: 'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm' : unable to match function definition to an existing declaration</div>
<div> d:\itk\source\modules\core\common\include\itkCovariantVector.h(225) : see declaration of 'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm'</div><div> definition</div><div> 'CovariantVector<T,NVectorDimension>::RealValueType itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'</div>
<div> existing declarations</div><div> 'NumericTraits<T>::RealType itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'</div><div>d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(198) : error C2244: 'itk::CovariantVector<T,NVectorDimension>::GetNorm' : unable to match function definition to an existing declaration</div>
<div> d:\itk\source\modules\core\common\include\itkCovariantVector.h(216) : see declaration of 'itk::CovariantVector<T,NVectorDimension>::GetNorm'</div><div> definition</div><div> 'CovariantVector<T,NVectorDimension>::RealValueType itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'</div>
<div> existing declarations</div><div> 'NumericTraits<T>::RealType itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'</div><div><br></div><div>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div>
<div><br></div><div>There were more of these messages but they seem kind of similar to the ones above.</div><div><br></div><div>Please help ASAP.</div><div><br></div><div><br></div><div>Thanks a lot</div><div>Lisa</div>