<div dir="ltr"><div>I had to do the following in CMake in order to by pass the error:<br><br></div>File --> Delete Cache<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Apr 26, 2014 at 5:20 PM, 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>I'm trying to install ITK. I had the itk4.0.0 version, and now trying to use itk-4.5.2, and confirmed that the source code belongs to that, but getting the following error when trying to "configure"<br>

<br><span style="color:rgb(255,0,0)">CMake Error: The source "C:/Toolkits/itk-4.5.2/src/CMakeLists.txt" does not match the source "C:/Toolkits/itk-4.0.0/src/CMakeLists.txt" used to generate cache.  Re-run cmake with a different source directory.</span><br>

<br></div>I made sure that I have the correct source directory, and have even reinstalled CMake but the same issue.<br><br>Any ideas on that?<br><br>Thanks.<br></div>
</blockquote></div><br></div>