<div><br></div><div>Hello ITK users, </div><div><br></div><div><br></div><div>Kindly help me solve this problem that I&#39;m facing. </div><div>I&#39;ve worked with ITKv3 for some time and did not experience any problem while building it for the first time. I&#39;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 &#39;Build Examples&#39; and &#39;Build Shared Libraries&#39;, 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: &#39;itk::Vector&lt;T,NVectorDimension&gt;::GetSquaredNorm&#39; : unable to match function definition to an existing declaration</div>
<div>        d:\itk\source\modules\core\common\include\itkVector.h(211) : see declaration of &#39;itk::Vector&lt;T,NVectorDimension&gt;::GetSquaredNorm&#39;</div><div>        definition</div><div>        &#39;Vector&lt;T,NVectorDimension&gt;::RealValueType itk::Vector&lt;T,NVectorDimension&gt;::GetSquaredNorm(void) const&#39;</div>
<div>        existing declarations</div><div>        &#39;NumericTraits&lt;T&gt;::RealType itk::Vector&lt;T,NVectorDimension&gt;::GetSquaredNorm(void) const&#39;</div><div>d:\itk\source\modules\core\common\include\itkVector.hxx(157) : error C2244: &#39;itk::Vector&lt;T,NVectorDimension&gt;::GetNorm&#39; : unable to match function definition to an existing declaration</div>
<div>        d:\itk\source\modules\core\common\include\itkVector.h(208) : see declaration of &#39;itk::Vector&lt;T,NVectorDimension&gt;::GetNorm&#39;</div><div>        definition</div><div>        &#39;Vector&lt;T,NVectorDimension&gt;::RealValueType itk::Vector&lt;T,NVectorDimension&gt;::GetNorm(void) const&#39;</div>
<div>        existing declarations</div><div>        &#39;NumericTraits&lt;T&gt;::RealType itk::Vector&lt;T,NVectorDimension&gt;::GetNorm(void) const&#39;</div><div>d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(187) : error C2244: &#39;itk::CovariantVector&lt;T,NVectorDimension&gt;::GetSquaredNorm&#39; : unable to match function definition to an existing declaration</div>
<div>        d:\itk\source\modules\core\common\include\itkCovariantVector.h(225) : see declaration of &#39;itk::CovariantVector&lt;T,NVectorDimension&gt;::GetSquaredNorm&#39;</div><div>        definition</div><div>        &#39;CovariantVector&lt;T,NVectorDimension&gt;::RealValueType itk::CovariantVector&lt;T,NVectorDimension&gt;::GetSquaredNorm(void) const&#39;</div>
<div>        existing declarations</div><div>        &#39;NumericTraits&lt;T&gt;::RealType itk::CovariantVector&lt;T,NVectorDimension&gt;::GetSquaredNorm(void) const&#39;</div><div>d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(198) : error C2244: &#39;itk::CovariantVector&lt;T,NVectorDimension&gt;::GetNorm&#39; : unable to match function definition to an existing declaration</div>
<div>        d:\itk\source\modules\core\common\include\itkCovariantVector.h(216) : see declaration of &#39;itk::CovariantVector&lt;T,NVectorDimension&gt;::GetNorm&#39;</div><div>        definition</div><div>        &#39;CovariantVector&lt;T,NVectorDimension&gt;::RealValueType itk::CovariantVector&lt;T,NVectorDimension&gt;::GetNorm(void) const&#39;</div>
<div>        existing declarations</div><div>        &#39;NumericTraits&lt;T&gt;::RealType itk::CovariantVector&lt;T,NVectorDimension&gt;::GetNorm(void) const&#39;</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>