<div dir="ltr"><div><div>Hi,<br>no, ITK_DIR must point to the directory where you set the binaries of ITK would reside.<br></div>Once that variable set, you'll need to re-configure prior to build.<br><br></div>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.<br>
<div><div><br>HTH,<br>JON HAITZ<br><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 26 April 2014 13:36, Med SWEng <span dir="ltr"><<a href="mailto:medcompsweng@gmail.com" target="_blank">medcompsweng@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>When trying to "configure" in CMake, in the process of settiing up ITK, I got the following error:<br>
<br><span style="color:rgb(255,0,0)">CMake Error at CMakeLists.txt:27 (MESSAGE):<br>
Cannot build ITKApps without ITK. Please set ITK_DIR.<br><br></span><br></div>Also, beside "ITK_DIR", I had the following: ITK_DIR-NOTFOUND<br><br></div>I tried to select the directory where ITK resides, but the field returns as is.<br>
<br></div>If I want to select the directory where ITK is installed, should it be: ....\itk\src ?<br><br></div>Thanks.<br> </div>
<br>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div></div></div></div></div></div>