[Insight-users] errors rebuilding ITK

Luis Ibanez luis.ibanez at kitware.com
Mon Sep 20 17:32:52 EDT 2010


Hi Floris,

ITK doesn't leave code in the system....
unless you run the "INSTALL" project.

Did you ?

In principle, deleting the source tree
and the binary tree should get rid of
all traces of ITK.

This looks more like a configuration
problem.

Are you sure that your Visual Studio
compiler is installed properly   ?

We know that when you install the 64bits
compiler after the fact, it doesn't get to
be installed correctly.

I would suggest that you verify the state of
the compiler installation by building a couple
of simple projects independently of ITK.


     Regards,


           Luis


-----------------------------------------------------
On Mon, Sep 13, 2010 at 12:15 PM, Floris Berendsen <floris at isi.uu.nl> wrote:

> 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
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100920/ed990825/attachment.htm>


More information about the Insight-users mailing list