<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3627" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        COLOR: #1f497d; FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><SPAN 
class=984240308-07012010><FONT face=Arial color=#0000ff 
size=2>&nbsp;&gt;&gt;&nbsp;</FONT></SPAN>I wrote the batch script that Joe is 
using - the AMD64 in the build directory path is just a consequence of using 
%PROCESSOR_ARCHITECTURE% to create the build directory from the batch script and 
is purely a cosmetic issue.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN>&nbsp;</P>
<P class=MsoNormal><SPAN 
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN 
class=984240308-07012010>I'm failing to make sense (my fault only) of what's 
going on with this.&nbsp; Does this imply that %PROCESSOR_ARCHITECTURE% is set 
to something other than the true architecture of the machine you are running on 
?&nbsp;&nbsp;&nbsp; </SPAN></o:p></SPAN></P></FONT></DIV><BR>
<BLOCKQUOTE dir=ltr 
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>Gregory Peele 
  ARA/CFD<BR><B>Sent:</B> Tuesday, January 05, 2010 5:27 PM<BR><B>To:</B> 
  cmake@cmake.org<BR><B>Subject:</B> Re: [CMake] Compiler Test Failing on 
  Windows 7<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV class=Section1>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I 
  wrote the batch script that Joe is using - the AMD64 in the build directory 
  path is just a consequence of using %PROCESSOR_ARCHITECTURE% to create the 
  build directory from the batch script and is purely a cosmetic 
  issue.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">The 
  CMake generator is what selects whether the build is 32-bit or 64-bit, and we 
  definitely use the 32-bit Visual Studio 2005 generator.&nbsp; Since CMake is a 
  32-bit process, it sees the system as being 32-bit when processing 
  CMakelists.txt, and is definitely using our configuration settings for 32-bit 
  Windows.&nbsp; I'm especially puzzled by this behavior because the same 
  project builds successfully in 64-bit Vista.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></B></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Gregory 
  Peele, Jr.<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Applied 
  Research Associates, Inc. <o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=MsoNormal><B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
  cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org] <B>On Behalf Of 
  </B>Smith Jack (Ext. - UGIS - UniCredit Group)<BR><B>Sent:</B> Tuesday, 
  January 05, 2010 8:51 AM<BR><B>To:</B> cmake@cmake.org<BR><B>Subject:</B> Re: 
  [CMake] Compiler Test Failing on Windows 7<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p>&nbsp;</o:p></P>
  <P class=MsoNormal><SPAN 
  style="COLOR: black; FONT-FAMILY: 'Arial','sans-serif'">"The path is made from 
  a batch script, and cmake is hardcoded to use 32bit on windows in the build 
  scripts."</SPAN><o:p></o:p></P>
  <DIV>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">I'm no 
  expert, but it seems like you must have something wrong in the 'batch script' 
  (or your environment).&nbsp; It looks like cmake thinks it's running on a 
  AMD64 based system.&nbsp; I think the OS architecture is *normally* 
  auto-detected, and to mistake a 32 bit OS for a 64 bit one seems like a pretty 
  big error.</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal>&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Have 
  you examined the script to be sure it's not misbehaving under Windows 7 - 
  perhaps a list of known OSes doesn't include Win7 
?<o:p></o:p></SPAN></P></DIV>
  <P class=MsoNormal><SPAN 
  style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <BLOCKQUOTE 
  style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
    <P class=MsoNormal><o:p>&nbsp;</o:p></P>
    <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
    <HR align=center width="100%" SIZE=2>
    </DIV>
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Joe L 
    [mailto:superist_joe@yahoo.com] <BR><B>Sent:</B> Tuesday, January 05, 2010 
    2:44 PM<BR><B>To:</B> Smith Jack (Ext. - UGIS - UniCredit Group); 
    cmake@cmake.org<BR><B>Subject:</B> Re: [CMake] Compiler Test Failing on 
    Windows 7</SPAN><o:p></o:p></P>
    <DIV>
    <DIV>
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><SPAN 
    style="FONT-FAMILY: 'Verdana','sans-serif'">I deleted the whole build 
    directory before running the build.&nbsp; There isn't any modifying of the 
    CMakeCache.txt as far as i know.<BR><BR>Joe<o:p></o:p></SPAN></P>
    <DIV>
    <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">
    <HR align=center width="100%" SIZE=1>
    </SPAN></DIV>
    <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> Smith Jack 
    (Ext. - UGIS - UniCredit Group) 
    &lt;jack.smith.extern@unicreditgroup.de&gt;<BR><B>To:</B> "cmake@cmake.org" 
    &lt;cmake@cmake.org&gt;<BR><B>Sent:</B> Tue, January 5, 2010 8:24:51 
    AM<BR><B>Subject:</B> Re: [CMake] Compiler Test Failing on Windows 
    7</SPAN><o:p></o:p></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">Do&nbsp;you 
    have a stale CMakeCache.txt file somewhere ?</SPAN><o:p></o:p></P>
    <P class=MsoNormal>&nbsp;<o:p></o:p></P>
    <P class=MsoNormal><SPAN 
    style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Arial','sans-serif'">It's 
    *usually* perfectly safe to delete all occurrences of CMakeCache.txt within 
    a project and have CMake regenerate them.&nbsp; I say usually, because I 
    have no idea if you are modifying that file for some&nbsp;reason, although 
    the practice is not recommended.</SPAN><o:p></o:p></P>
    <BLOCKQUOTE 
    style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: blue 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
      <P class=MsoNormal><o:p>&nbsp;</o:p></P>
      <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center>
      <HR align=center width="100%" SIZE=2>
      </DIV>
      <P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><B><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> 
      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</SPAN><o:p></o:p></P>
      <DIV>
      <DIV>
      <P class=MsoNormal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'">After 
      upgrading to windows 7, I'm getting errors when trying to run the cmake 
      project generation step.&nbsp; It seems as though I'm unable to copy a 
      file.&nbsp; 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>&nbsp; OutputFile: 
      ''<BR>&nbsp;&nbsp;&nbsp; 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>&nbsp; file STRINGS file<BR>&nbsp; 
      "C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_C.bin"<BR>&nbsp; 
      cannot be read.<BR>Call Stack (most recent call first):<BR>&nbsp; 
      C:/Program Files (x86)/CMake 
      2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:69 
      (CMAKE_DETERMINE_COMPILER_ABI)<BR>&nbsp; CMakeLists.txt:3 
      (PROJECT)<BR><BR><BR>CMake Error: Could not COPY_FILE.<BR>&nbsp; 
      OutputFile: ''<BR>&nbsp;&nbsp;&nbsp; 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>&nbsp; file STRINGS file<BR>&nbsp; 
      "C:/Users/joe/devel/RUGUD-devel/com.ara.engen.plugins.cpp/build/windows.AMD64.vc.8.release/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"<BR>&nbsp; 
      cannot be read.<BR>Call Stack (most recent call first):<BR>&nbsp; 
      C:/Program Files (x86)/CMake 
      2.8/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:62 
      (CMAKE_DETERMINE_COMPILER_ABI)<BR>&nbsp; CMakeLists.txt:3 
      (PROJECT)<BR><BR>Even though the path says AMD64, it's doing a 32-bit 
      build.&nbsp; 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<o:p></o:p></SPAN></P></DIV></DIV>
      <P class=MsoNormal><o:p>&nbsp;</o:p></P></BLOCKQUOTE></DIV></DIV></DIV>
    <P 
class=MsoNormal><o:p>&nbsp;</o:p></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>