[Insight-users] Do we have to build ITK for both "Release" and "Debug"?

Luis Ibanez luis.ibanez at kitware.com
Sun Oct 22 10:44:41 EDT 2006


Hi Daniel,

A build directory of ITK is large only if you build all
the Examples, Testing and Wrapping.

You can have a compact build of ITK if you disable
Examples, Testing and Wrapping. This will give you
what you need in order to use ITK in an external project.

With such configuration, a build of ITK comes down to:


                   92  Mbytes


Which is not much, considering that the ITK source tree
itself has 93Mb   :-)


At that size, there is no good reason for not having
a build for Release, and a separate build for Debug
mode.


   Regards,


      Luis



-------------------
daniel mark wrote:
> Hello all:
> 
> I read the comments from Luis
> //////////////////////////////////////////////////////////
> http://public.kitware.com/pipermail/insight-users/2005-December/015975.html
> 
> A common mistake is to build ITK for "Release", and then
>  try to build the examples for "Debug", or the other way
>  around.
> 
>  Please make sure that you use the same compilation mode
>  for *all* the libraries and the applications.
> 
> ////////////////////////////////////////////////////////
> 
> Now I have compiled ITK in Release model, however, I would like to
> debug an example
> program. What should I do?
> 
> Should I rebuild ITK in Debug model?
> The size of C:\Program
> Files\InsightToolkit-2.8.1\InsightToolkit-2.8.1_Binary is around 1.76G
> for release build.
> 
> I really have to rebuild ITK in debug model and have another directory
> with size 1.76G???
> 
> 
> Thank you for you comments.
> -Daniel
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 


More information about the Insight-users mailing list