[ITK] [ITK-users] make: path to ITK build unknown

Matt McCormick matt.mccormick at kitware.com
Mon Jun 30 15:53:08 EDT 2014


Hi,

One option is to install ITK:

  cd /path/to/ITK_build
  make install

Hope this helps,
Matt

On Mon, Jun 30, 2014 at 3:34 PM, donelron <donelron at web.de> wrote:
> Hi everybody,
>
> when building an ITK project I have the following problem:
> when I use the command
>
> cmake  ../<name of source code directory>
> to generate a makefile and then afterwards use the make command to compile I
> get:
> ----------------------------------------------------------------------------
> fatal error: itkBinaryThresholdImageFilter.h: No such file or directory
> compilation terminated.
> make[2]: ***
> [CMakeFiles/BinaryThresholdImageFilter.dir/BinaryThresholdImageFilter.o]
> Error 1
> make[1]: *** [CMakeFiles/BinaryThresholdImageFilter.dir/all] Error 2
> make: *** [all] Error 2
> ----------------------------------------------------------------------------
>
> In order to make it work I have to do it this way:
> cmake -DITK_DIR=/path/to/ITK_build ../<name of source code directory>
>
>
> Now, what do I have to do, so the path to ITK build is always known and I
> don't have to enter it every time I want to build / compile source code I am
> working on???
>
> Thanks in advance for your help and best regards
>
>
>
> --
> View this message in context: http://itk-users.7.n7.nabble.com/make-path-to-ITK-build-unknown-tp34171.html
> Sent from the ITK - Users mailing list archive at Nabble.com.
> _____________________________________
> 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
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
_____________________________________
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