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

daniel mark danielmarkhot at gmail.com
Sun Oct 22 11:22:24 EDT 2006


Dear Luis:

   I am not familar with the Visual Studio 2005 IDE.
Is it possible that you can tell me the correct way to disable examples, testing
and wrapping build?



Thank you very much!
-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