Hi all,<br><br>I have trouble (re-)building the ITK library. At the first compilation I was successful; I could run ITK based software (elastix) in Debug mode. Then I wanted to rebuild ITK, so I deleted the binary and the source directory trees and unzipped the source again. I ran Cmake(2.8) again: Delete Cache, Configure, Configure, Generate. Then I opened the solution with Visual Studio(2005 64bit), ALL_BUILD -> rebuild. But now ITK does not compile anymore. Warnings and errors are related to vxl/vcl, 2 examples out of a list are shown below.<br>
<br>My question is what makes the compilation fail? Are there parts/configurations left in my system that I didn't clean?<br><br>Any suggestion, question or help is welcome.<br>Regards,<br><br><br>Floris<br><br><br>Some of the warings/errors:<br>
<br>5>d:\itk\insighttoolkit-3.16.0\utilities\vxl\vcl\emulation\vcl_algorithm.txx(16) : warning C4005: 'VCL_CONTAINABLE_INSTANTIATE' : macro redefinition<br>5> d:\itk\insighttoolkit-3.16.0\utilities\vxl\vcl\iso/vcl_algorithm.txx(11) : see previous definition of 'VCL_CONTAINABLE_INSTANTIATE'<br>
<br>5>d:\itk\insighttoolkit-3.16.0\utilities\vxl\vcl\emulation\vcl_algobase.h(184) : error C2995: 'void vcl_destroy(T *)' : function template has already been defined<br>5> D:\itk\InsightToolkit-3.16.0\Utilities\vxl\vcl\vcl_new.h(35) : see declaration of 'vcl_destroy' <br>
<br>My system:<br>Windows XP 64bit<br>InsightToolkit-3.16.0 <br>Cmake 2.8 <br>Visual Studio 2005 64bit<br><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style>