[ITK] [ITK-users] Problem in installing ITK

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Tue Feb 10 09:02:46 EST 2015


Hi Gunjan,
the order of the flags is not an important issue; it is their value which
matters.

As for some of the ones you are posting,
BUILD_SHARED_LIBS: you may want to use static libraries (OFF) instead of
dynamic libraries.
BUILD_TESTING: turning the testing OFF will create a lighter project and
may have great impact in saving compilation time, you may want to turn
BUILD_EXAMPLES: turning the examples ON may be useful if you are a newbie.
But turning them off does not hurt.
ITKV3_COMPATIBILITY: depending on your purposes, you may need to turn it on.
ITK_USE_REVIEW: this is an interesting option if you want to use filters
that are still under review process/published in the IJ [1], and not yet
integrated into the Modules.
BUILD_DOXYGEN: it is just about generating doxygen documentation files. ITK
is well documented in the Web [2], so it's not necessary.

Although, I'm not an expert in building ITK in a Unix OS, in theory, once
you set your binary directory (there where your makefiles will be
generated), you shouldn't need to set any other path.

You may not be seeing all flags if you don't turn the Advanced flag to ON
(CMake GUI at least).

HTH,
JON HAITZ



[1] http://www.insight-journal.org/
[2] http://www.itk.org/Doxygen/html/classes.html


On 10 February 2015 at 14:21, Gunjan Gautam <gunjan.gemini29 at gmail.com>
wrote:

> Hi All,
>
> While installing ITK-4.7.0 as per the instructions from *http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux
> <http://www.itk.org/Wiki/ITK_Configuring_and_Building_for_Ubuntu_Linux>*
> I am stuck at the below command
>
> $ sudo ccmake -DITK_USE_REVIEW=ON ..
>
> Terminal must show the below option:
>
> BUILD_DOXYGEN                   *OFF
> BUILD_EXAMPLES                  *ON
> BUILD_SHARED_LIBS               *ON
> BUILD_TESTING                   *ON
> CMAKE_BACKWARDS_COMPATIBILITY   *2.4
> CMAKE_BUILD_TYPE                *Release
> CMAKE_INSTALL_PREFIX            */usr/local
> ITK_USE_KWSTYLE                 *OFF
>
>
> But my terminal is showing the options as mentioned below and I don't know
> how to set the values including path and all.
>
>  BUILD_EXAMPLES
> *ON
>  BUILD_SHARED_LIBS
> *OFF
>  BUILD_TESTING
> *ON
>  CMAKE_BUILD_TYPE
> *Release
>  ITKV3_COMPATIBILITY
> *OFF
>  ITK_BUILD_DEFAULT_MODULES
> *ON
>  ITK_WRAP_PYTHON
> *OFF
>
>
> Please help !!
>
>
> --
> Best Regards,
> Gunjan
>
> _____________________________________
> 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.php
>
> 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://public.kitware.com/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20150210/06e5eebd/attachment.html>
-------------- next part --------------
_____________________________________
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.php

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://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list