[Insight-users] problems with installation
gary smith
hsmith1960 at gmail.com
Fri Aug 26 16:20:45 EDT 2011
I'm an obvious new ITK user. Here's a brief history of my problems with
installation.
OS is Windows 7
I downloaded the recommended zip file, extracted it to C:/Program Files
(x86)
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
After trying to configure, I select Visual 2010 as compiler, and check "use
default native compilers"
I've copied the error messages below. Any compassion shown to a newbie would
be greatly appreciated!
Harry
CMake Error: Unable to open cache file for save. C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeCache.txt
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:160
(FILE):
file Internal CMake error when trying to open file: C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeOutput.log
for writing.
Call Stack (most recent call first):
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
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:172
(CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
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
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake:180
(CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMake Error: Could not find cmake module file:C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCCompiler.cmake
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
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake:185
(CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
CMake Error: Could not find cmake module file:C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeCXXCompiler.cmake
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
CMake Error: : System Error: No such file or directory
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeDetermineRCCompiler.cmake:65
(CONFIGURE_FILE):
configure_file Problem configuring file
Call Stack (most recent call first):
C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/Platform/Windows-cl.cmake:28
(ENABLE_LANGUAGE)
C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60
(INCLUDE)
CMake Error: Could not find cmake module file:C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeRCCompiler.cmake
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
CMake Error: : System Error: No such file or directory
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):
configure_file Problem configuring file
Call Stack (most recent call first):
C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60
(INCLUDE)
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
CMake Error: : System Error: No such file or directory
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):
configure_file Problem configuring file
Call Stack (most recent call first):
C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeCInformation.cmake:60
(INCLUDE)
Check for working C compiler using: Visual Studio 10
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:24
(FILE):
file Internal CMake error when trying to open file: C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeTmp/testCCompiler.c
for writing.
Call Stack (most recent call first):
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:36
(TRY_COMPILE):
Failed to open
C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeTmp/CMakeLists.txt
No such file or directory
Call Stack (most recent call first):
Check for working C compiler using: Visual Studio 10 -- broken
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:44
(FILE):
file Internal CMake error when trying to open file: C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeFiles/CMakeError.log
for writing.
Call Stack (most recent call first):
CMake Error at C:/Program Files
(x86)/cmake-2.8.5-win32-x86/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52
(MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be
lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring incomplete, errors occurred!
CMake Error: Unable to open cache file for save. C:/Program Files
(x86)/InsightToolkit-3.20.0/Code/buildprojects/CMakeCache.txt
CMake Error: : System Error: Permission denied
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110826/6b017723/attachment.htm>
More information about the Insight-users
mailing list