[Insight-users] 'install'ing ITK

Bill Lorensen bill.lorensen at gmail.com
Mon Apr 18 13:01:56 EDT 2011


By default the new modularized ITK only has a small number of classes enabled.

Also, I'm not sure if the installl stuff has been fixed yet.

Now is a good time to bring up these issues, sinve ITKv4 is still in alpha.

On Mon, Apr 18, 2011 at 12:23 PM, David Doria <daviddoria at gmail.com> wrote:
> I've always done this:
>
> mkdir ~/src/ITK
> cd ~/src/ITK
> git clone ...
>
> mkdir ~/bin/ITK
> cd ~/bin/ITK
> cmake ~/src/ITK
> make
>
> Then when I open a project which uses ITK, I set ITK_DIR to ~/bin/ITK
> and all is well.
>
> Recently that method (not ever 'install'ing) was causing a problem, so
> I tried this:
>
> mkdir ~/src/ITK
> cd ~/src/ITK
> git clone ...
>
> mkdir ~/bin/ITK
> cd ~/bin/ITK
> cmake -DCMAKE_INSTALL_PREFIX=$HOME/ITK ~/src/ITK
> make
> make install
>
> This, as expected, produced a folder ~/ITK. However, only a tiny few
> headers seem to be copied into ~/ITK/include/ITK-4.0 (i.e.
> RescaleIntensityImageFilter is missing, GradientToMagnitudeImageFilter
> is missing, etc). Why is that?
>
> Also, I now have to set ITK_DIR to ~/ITK/lib/cmake/ITK-4.0/ when using
> ITK in a project. This seems a bit awkward - is this correct? I would
> have expected something more like ITK_DIR=~/ITK
>
> Thanks,
>
> David
> _____________________________________
> 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
>


More information about the Insight-users mailing list