<br>Hi Floris,<br><br>ITK doesn't leave code in the system....<br>unless you run the "INSTALL" project.<br><br>Did you ?<br><br>In principle, deleting the source tree<br>and the binary tree should get rid of<br>
all traces of ITK.<br><br>This looks more like a configuration<br>problem.<br><br>Are you sure that your Visual Studio<br>compiler is installed properly ?<br><br>We know that when you install the 64bits<br>compiler after the fact, it doesn't get to<br>
be installed correctly.<br><br>I would suggest that you verify the state of<br>the compiler installation by building a couple<br>of simple projects independently of ITK.<br><br><br> Regards,<br><br><br> Luis<br>
<br><br>-----------------------------------------------------<br><div class="gmail_quote">On Mon, Sep 13, 2010 at 12:15 PM, Floris Berendsen <span dir="ltr"><<a href="mailto:floris@isi.uu.nl">floris@isi.uu.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">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="display: inline;"></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>