[ITK] Error in ITK configuration

Jon Haitz Legarreta jhlegarreta at vicomtech.org
Sat Apr 26 08:25:54 EDT 2014


Hi,
no, ITK_DIR must point to the directory where you set the binaries of ITK
would reside.
Once that variable set, you'll need to re-configure prior to build.

On the other hand, try not to confuse installation with building and
compiling. ITK allows to be installed as well, but if you want to use it
for development, the most appropriate choice is to build it from the
sources, as you've made until now.

HTH,
JON HAITZ

On 26 April 2014 13:36, Med SWEng <medcompsweng at gmail.com> wrote:

> When trying to "configure" in CMake, in the process of settiing up ITK, I
> got the following error:
>
> CMake Error at CMakeLists.txt:27 (MESSAGE):
> Cannot build ITKApps without ITK. Please set ITK_DIR.
>
>
> Also, beside "ITK_DIR", I had the following: ITK_DIR-NOTFOUND
>
> I tried to select the directory where ITK resides, but the field returns
> as is.
>
> If I want to select the directory where ITK is installed, should it be:
> ....\itk\src ?
>
> Thanks.
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20140426/35c19547/attachment-0002.html>


More information about the Community mailing list