<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3627" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=598462013-05012010>Do you have a stale CMakeCache.txt file somewhere
?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=598462013-05012010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=598462013-05012010>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.</SPAN></FONT><FONT
face=Arial color=#0000ff size=2><SPAN
class=598462013-05012010></SPAN></FONT></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> cmake-bounces@cmake.org
[mailto:cmake-bounces@cmake.org] <B>On Behalf Of </B>Joe L<BR><B>Sent:</B>
Tuesday, January 05, 2010 2:09 PM<BR><B>To:</B>
cmake@cmake.org<BR><B>Subject:</B> [CMake] Compiler Test Failing on Windows
7<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: verdana,helvetica,sans-serif">
<DIV>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.<BR><BR>Here is the
error:<BR>CMake Error: Could not COPY_FILE.<BR> OutputFile:
''<BR> copyFile:
'C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_C.bin'<BR><BR>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".<BR><BR>CMake
Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40
(FILE):<BR> file STRINGS file<BR>
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_C.bin"<BR>
cannot be read.<BR>Call Stack (most recent call first):<BR> C:/Program
Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:69
(CMAKE_DETERMINE_COMPILER_ABI)<BR> CMakeLists.txt:3
(PROJECT)<BR><BR><BR>CMake Error: Could not COPY_FILE.<BR> OutputFile:
''<BR> copyFile:
'C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'<BR><BR>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".<BR><BR>CMake
Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40
(FILE):<BR> file STRINGS file<BR>
"C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"<BR>
cannot be read.<BR>Call Stack (most recent call first):<BR> C:/Program
Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:62
(CMAKE_DETERMINE_COMPILER_ABI)<BR> CMakeLists.txt:3
(PROJECT)<BR><BR>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.<BR><BR>Any ideas on what the
problem might be?<BR><BR>Thanks,<BR>Joe<BR></DIV><!-- cg19.c1.mail.mud.yahoo.com compressed/chunked Mon Jan 4 11:03:24 PST 2010 --></DIV><BR></BLOCKQUOTE></BODY></HTML>