[Insight-users] errors rebuilding ITK

Floris Berendsen floris at isi.uu.nl
Mon Sep 13 12:15:12 EDT 2010


Hi all,

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.

My question is what makes the compilation fail? Are there
parts/configurations left in my system that I didn't clean?

Any suggestion, question or help is welcome.
Regards,


Floris


Some of the warings/errors:

5>d:\itk\insighttoolkit-3.16.0\utilities\vxl\vcl\emulation\vcl_algorithm.txx(16)
: warning C4005: 'VCL_CONTAINABLE_INSTANTIATE' : macro redefinition
5>
d:\itk\insighttoolkit-3.16.0\utilities\vxl\vcl\iso/vcl_algorithm.txx(11) :
see previous definition of 'VCL_CONTAINABLE_INSTANTIATE'

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
5>        D:\itk\InsightToolkit-3.16.0\Utilities\vxl\vcl\vcl_new.h(35) : see
declaration of 'vcl_destroy'

My system:
Windows XP 64bit
InsightToolkit-3.16.0
Cmake 2.8
Visual Studio 2005 64bit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100913/ef32b152/attachment.htm>


More information about the Insight-users mailing list