Do you have a stale CMakeCache.txt file somewhere ?

It's *usually* perfectly safe to delete all occurrences of CMakeCache.txt 
within a project and have CMake regenerate them.  I say usually, because I have 
no idea if you are modifying that file for some reason, although the practice 
is not recommended.

________________________________
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Joe 
L
Sent: Tuesday, January 05, 2010 2:09 PM
To: cmake@cmake.org
Subject: [CMake] Compiler Test Failing on Windows 7

After upgrading to windows 7, I'm getting errors when trying to run the cmake 
project generation step.  It seems as though I'm unable to copy a file.  I have 
the directory as a subdirectory of my users folder, so I didn't think it would 
be a permissions issue.

Here is the error:
CMake Error: Could not COPY_FILE.
  OutputFile: ''
    copyFile: 
'C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_C.bin'

Unable to find executable for try_compile: tried 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/cmTryCompileExec.exe"
 and 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe"
 and 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".

CMake Error at C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):
  file STRINGS file
  
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_C.bin"
  cannot be read.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:69 
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:3 (PROJECT)


CMake Error: Could not COPY_FILE.
  OutputFile: ''
    copyFile: 
'C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'

Unable to find executable for try_compile: tried 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/cmTryCompileExec.exe"
 and 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe"
 and 
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".

CMake Error at C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):
  file STRINGS file
  
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"
  cannot be read.
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake 
2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:62 
(CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:3 (PROJECT)

Even though the path says AMD64, it's doing a 32-bit build.  The path is made 
from a batch script, and cmake is hardcoded to use 32bit on windows in the 
build scripts.

Any ideas on what the problem might be?

Thanks,
Joe

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to