<div>I&#39;m an obvious new ITK user.  Here&#39;s a brief history of my problems with installation. </div><div>OS is Windows 7</div><div> </div><div>I downloaded the recommended zip file, extracted it to C:/Program Files (x86)</div>
<p>Opened CMake GUI and set source code to C:/Program Files (x86)/InsightToolkit-3.20.0/Code;  I created a new folder to build binaries at C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects</p><p>After trying to configure, I select Visual 2010 as compiler, and check &quot;use default native compilers&quot;</p>
<div>I&#39;ve copied the error messages below. Any compassion shown to a newbie would be greatly appreciated!</div><div> </div><p>Harry</p><p> </p><p>CMake Error: Unable to open cache file for save. C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeCache.txt</p>
<p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:160 (FILE):</p><p>  file Internal CMake error when trying to open file: C:/Program Files</p><p>  (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeOutput.log</p>
<p>  for writing.</p><p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeSystem.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:172 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCCompiler.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:180 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error: Could not find cmake module file:C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCCompiler.cmake</p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCXXCompiler.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:185 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error: Could not find cmake module file:C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCXXCompiler.cmake</p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeRCCompiler.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:65 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p>  C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:28 (ENABLE_LANGUAGE)</p><p>  C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)</p>
<p> </p><p> </p><p>CMake Error: Could not find cmake module file:C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeRCCompiler.cmake</p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCPlatform.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:246 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p>  C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)</p><p> </p><p> </p><p>CMake Error: Could not open file for write in copy operation C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCXXPlatform.cmake.tmp</p>
<p>CMake Error: : System Error: No such file or directory</p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:251 (CONFIGURE_FILE):</p><p>  configure_file Problem configuring file</p>
<p>Call Stack (most recent call first):</p><p>  C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60 (INCLUDE)</p><p> </p><p> </p><p>Check for working C compiler using: Visual Studio 10</p>
<p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:24 (FILE):</p><p>  file Internal CMake error when trying to open file: C:/Program Files</p><p>  (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeTmp/testCCompiler.c</p>
<p>  for writing.</p><p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:36 (TRY_COMPILE):</p><p>  Failed to open</p>
<p><br>    C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeTmp/CMakeLists.txt</p><p><br>  No such file or directory</p><p>Call Stack (most recent call first):</p><p> </p><p> </p><p>Check for working C compiler using: Visual Studio 10 -- broken</p>
<p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:44 (FILE):</p><p>  file Internal CMake error when trying to open file: C:/Program Files</p><p>  (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeError.log</p>
<p>  for writing.</p><p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Error at C:/Program Files (x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</p><p>  The C compiler &quot;cl&quot; is not able to compile a simple test program.</p>
<p><br>  It fails with the following output:</p><p> </p><p> </p><p> </p><p><br>  CMake will not be able to correctly generate this project.</p><p>Call Stack (most recent call first):</p><p> </p><p> </p><p>CMake Warning (dev) in CMakeLists.txt:</p>
<p>  No cmake_minimum_required command is present.  A line of code such as</p><p><br>    cmake_minimum_required(VERSION 2.8)</p><p><br>  should be added at the top of the file.  The version specified may be lower</p><p>  if you wish to support older CMake versions for this project.  For more</p>
<p>  information run &quot;cmake --help-policy CMP0000&quot;.</p><p>This warning is for project developers.  Use -Wno-dev to suppress it.</p><p><br>Configuring incomplete, errors occurred!</p><p>CMake Error: Unable to open cache file for save. C:/Program Files (x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeCache.txt</p>
<p>CMake Error: : System Error: Permission denied</p>