<html 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" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[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 Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
-->
</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 link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>Hi Arjen,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>This may be totally the wrong direction, but we have seen
similar errors that appear to be caused by resident programs that crawl the
local filesystem. Desktop search engines (Microsoft or Google) or
anti-virus software may try to open your build files (including temporary files)
for indexing and have the side effect of locking CMake out. You might try
disabling your antivirus or desktop search tools while running CMake.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'>-kt<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> cmake-bounces@cmake.org
[mailto:cmake-bounces@cmake.org] <b>On Behalf Of </b>Verweij, Arjen<br>
<b>Sent:</b> Wednesday, July 21, 2010 8:32 AM<br>
<b>To:</b> cmake@cmake.org<br>
<b>Subject:</b> [CMake] cmake generators on windows: nmake versus jom<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=NL>Hi,<o:p></o:p></span></p>
<p class=MsoNormal><span lang=NL><o:p> </o:p></span></p>
<p class=MsoNormal>I’m having trouble generating the Makefiles I want on
Windows. I can’t generate “Unix Makefiles” because cmake
fails to compile a simple program. But also using generators that should be
very much alike, “NMake Makefiles” and “NMake Makefiles
JOM”, the first will finish and the second will not. This is on a fresh
install (Virtual machine) with Ifort 8.1, MSVC++ 7.1 and cmake 2.8.2, no
specials.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Is it normal for generators to be this picky? Is there
documentation on this subject? While browsing email archives I’ve read
that “cmake assumes your compiler works” but I guess there’s
more going on under the hood than a mere compilation check.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal>Arjen<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>“NMake Makefiles:<o:p></o:p></p>
<p class=MsoNormal>-- Windows!<o:p></o:p></p>
<p class=MsoNormal>-- FLEXLM=Z:/projects/nastia_src/src/ext/flexlm/v11.6.1<o:p></o:p></p>
<p class=MsoNormal>-- ALSDK=Z:/projects/nastia_src/src/ext/alsdk/v10.0.0<o:p></o:p></p>
<p class=MsoNormal>-- FLEXLMARCH=i86_n3<o:p></o:p></p>
<p class=MsoNormal>-- The Fortran compiler identification is Intel<o:p></o:p></p>
<p class=MsoNormal>-- FIXME: altered Windows.cmake for debugging purposes.<o:p></o:p></p>
<p class=MsoNormal>-- Check for working Fortran compiler: E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working Fortran compiler: E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe -- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting Fortran compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>-- Detecting Fortran compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>-- Checking whether E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe supports Fortran 90<o:p></o:p></p>
<p class=MsoNormal>-- Checking whether E:/Program Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe
supports Fortran 90 -- yes<o:p></o:p></p>
<p class=MsoNormal>-- The C compiler identification is MSVC<o:p></o:p></p>
<p class=MsoNormal>-- Check for CL compiler version<o:p></o:p></p>
<p class=MsoNormal>-- Check for CL compiler version - 1310<o:p></o:p></p>
<p class=MsoNormal>-- Check if this is a free VC compiler<o:p></o:p></p>
<p class=MsoNormal>-- Check if this is a free VC compiler - no<o:p></o:p></p>
<p class=MsoNormal>-- Check for working C compiler: E:/Program Files/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working C compiler: E:/Program Files/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe -- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting C compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>-- Detecting C compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>-- The CXX compiler identification is MSVC<o:p></o:p></p>
<p class=MsoNormal>-- Check for working CXX compiler: E:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working CXX compiler: E:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe -- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting CXX compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>-- Detecting CXX compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>-- Looking for C++ include iostream<o:p></o:p></p>
<p class=MsoNormal>-- Looking for C++ include iostream - found<o:p></o:p></p>
<p class=MsoNormal>-- Check for STD namespace<o:p></o:p></p>
<p class=MsoNormal>-- Check for STD namespace - found<o:p></o:p></p>
<p class=MsoNormal>-- Found FLEX: E:/UnxUtils/usr/local/wbin/flex.exe<o:p></o:p></p>
<p class=MsoNormal>-- Found BISON: E:/UnxUtils/usr/local/wbin/bison.exe<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>“NMake Makefiles JOM”<o:p></o:p></p>
<p class=MsoNormal>-- Windows!<o:p></o:p></p>
<p class=MsoNormal>-- FLEXLM=Z:/projects/nastia_src/src/ext/flexlm/v11.6.1<o:p></o:p></p>
<p class=MsoNormal>-- ALSDK=Z:/projects/nastia_src/src/ext/alsdk/v10.0.0<o:p></o:p></p>
<p class=MsoNormal>-- FLEXLMARCH=i86_n3<o:p></o:p></p>
<p class=MsoNormal>-- The Fortran compiler identification is Intel<o:p></o:p></p>
<p class=MsoNormal>-- FIXME: altered Windows.cmake for debugging purposes.<o:p></o:p></p>
<p class=MsoNormal>-- Check for working Fortran compiler: E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working Fortran compiler: E:/Program Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe
-- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting Fortran compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>CMake Error: Could not COPY_FILE.<o:p></o:p></p>
<p class=MsoNormal> OutputFile: ''<o:p></o:p></p>
<p class=MsoNormal> copyFile:
'E:/build/CMakeFiles/CMakeDetermineCompilerABI_Fortran.bin'<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Unable to find executable for try_compile: tried
"E:/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Debug<o:p></o:p></p>
<p class=MsoNormal>/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- Detecting Fortran compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>CMake Error at
E:/cmake28/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):<o:p></o:p></p>
<p class=MsoNormal> file STRINGS file<o:p></o:p></p>
<p class=MsoNormal>
"E:/build/CMakeFiles/CMakeDetermineCompilerABI_Fortran.bin" cannot be
read.<o:p></o:p></p>
<p class=MsoNormal>Call Stack (most recent call first):<o:p></o:p></p>
<p class=MsoNormal> E:/cmake28/share/cmake-2.8/Modules/CMakeTestFortranCompiler.cmake:59
(CMAKE_DETERMINE_COMPILER_ABI)<o:p></o:p></p>
<p class=MsoNormal> compilers.cmake:45 (enable_language)<o:p></o:p></p>
<p class=MsoNormal> CMakeLists.txt:4 (include)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- Checking whether E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe supports Fortran 90<o:p></o:p></p>
<p class=MsoNormal>-- Checking whether E:/Program
Files/Intel/Fortran/compiler80/IA32/BIN/ifort.exe supports Fortran 90 -- yes<o:p></o:p></p>
<p class=MsoNormal>-- The C compiler identification is MSVC<o:p></o:p></p>
<p class=MsoNormal>-- Check for CL compiler version<o:p></o:p></p>
<p class=MsoNormal>-- Check for CL compiler version - 1310<o:p></o:p></p>
<p class=MsoNormal>-- Check if this is a free VC compiler<o:p></o:p></p>
<p class=MsoNormal>-- Check if this is a free VC compiler - no<o:p></o:p></p>
<p class=MsoNormal>-- Check for working C compiler: E:/Program Files/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working C compiler: E:/Program Files/Microsoft
Visual Studio .NET 2003/Vc7/bin/cl.exe -- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting C compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>CMake Error: Could not COPY_FILE.<o:p></o:p></p>
<p class=MsoNormal> OutputFile: ''<o:p></o:p></p>
<p class=MsoNormal> copyFile:
'E:/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin'<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Unable to find executable for try_compile: tried
"E:/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Debug<o:p></o:p></p>
<p class=MsoNormal>/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- Detecting C compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>CMake Error at
E:/cmake28/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):<o:p></o:p></p>
<p class=MsoNormal> file STRINGS file
"E:/build/CMakeFiles/CMakeDetermineCompilerABI_C.bin"<o:p></o:p></p>
<p class=MsoNormal> cannot be read.<o:p></o:p></p>
<p class=MsoNormal>Call Stack (most recent call first):<o:p></o:p></p>
<p class=MsoNormal>
E:/cmake28/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71
(CMAKE_DETERMINE_COMPILER_ABI)<o:p></o:p></p>
<p class=MsoNormal> compilers.cmake:46 (enable_language)<o:p></o:p></p>
<p class=MsoNormal> CMakeLists.txt:4 (include)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- The CXX compiler identification is MSVC<o:p></o:p></p>
<p class=MsoNormal>-- Check for working CXX compiler: E:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe<o:p></o:p></p>
<p class=MsoNormal>-- Check for working CXX compiler: E:/Program
Files/Microsoft Visual Studio .NET 2003/Vc7/bin/cl.exe -- works<o:p></o:p></p>
<p class=MsoNormal>-- Detecting CXX compiler ABI info<o:p></o:p></p>
<p class=MsoNormal>CMake Error: Could not COPY_FILE.<o:p></o:p></p>
<p class=MsoNormal> OutputFile: ''<o:p></o:p></p>
<p class=MsoNormal> copyFile:
'E:/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin'<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Unable to find executable for try_compile: tried
"E:/build/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Debug<o:p></o:p></p>
<p class=MsoNormal>/cmTryCompileExec.exe" and
"E:/build/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe".<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- Detecting CXX compiler ABI info - done<o:p></o:p></p>
<p class=MsoNormal>CMake Error at
E:/cmake28/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE):<o:p></o:p></p>
<p class=MsoNormal> file STRINGS file
"E:/build/CMakeFiles/CMakeDetermineCompilerABI_CXX.bin"<o:p></o:p></p>
<p class=MsoNormal> cannot be read.<o:p></o:p></p>
<p class=MsoNormal>Call Stack (most recent call first):<o:p></o:p></p>
<p class=MsoNormal> E:/cmake28/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:64
(CMAKE_DETERMINE_COMPILER_ABI)<o:p></o:p></p>
<p class=MsoNormal> compilers.cmake:47 (enable_language)<o:p></o:p></p>
<p class=MsoNormal> CMakeLists.txt:4 (include)<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>-- Looking for C++ include iostream<o:p></o:p></p>
<p class=MsoNormal>-- Looking for C++ include iostream - found<o:p></o:p></p>
<p class=MsoNormal>-- Check for STD namespace<o:p></o:p></p>
<p class=MsoNormal>-- Check for STD namespace - found<o:p></o:p></p>
<p class=MsoNormal>-- Found FLEX: E:/UnxUtils/usr/local/wbin/flex.exe<o:p></o:p></p>
<p class=MsoNormal>-- Found BISON: E:/UnxUtils/usr/local/wbin/bison.exe<o:p></o:p></p>
<p class=MsoNormal>[SNIP]<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=529
style='width:396.75pt;border-top:solid gray 1.0pt;border-left:none;border-bottom:
solid gray 1.0pt;border-right:none'>
<tr>
<td width=529 colspan=3 style='width:396.75pt;border:none;padding:0in 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:3.0pt;margin-right:0in;
margin-bottom:3.0pt;margin-left:0in'><b><span style='font-size:10.0pt;
font-family:"Arial","sans-serif";color:black'>Arjen Verweij</span></b><b><span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333399'><br>
</span></b><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#F79646'>QA/Test Engineer</span></b><span style='font-size:12.0pt;
font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=165 rowspan=2 style='width:123.75pt;border:none;padding:0in 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'><img
width=155 height=87 id="Picture_x0020_1"
src="cid:image001.gif@01CB28B2.DF4D35A0" alt=www.tass-safe.com></span></b><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>
</td>
<td width=14 rowspan=2 style='width:10.5pt;border:none;padding:0in 0in 0in 0in'></td>
<td width=350 style='width:262.5pt;border:none;padding:0in 0in 0in 0in'>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:"Arial","sans-serif";color:black'><br>
Einsteinlaan 6<br>
2289 CC Rijswijk<br>
The Netherlands</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td style='border:none;padding:0in 0in 0in 0in'>
<p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";
color:black'>Phone: +31 88 827 7086<br>
Fax: +31 88 827 7003<br>
Email: arjen.verweij@tass-safe.com<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>www.tass-</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#F79646'>safe</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:black'>.com</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:black'><o:p></o:p></span></p>
</td>
</tr>
<tr>
<td width=529 colspan=3 style='width:396.75pt;border:none;padding:0in 0in 0in 0in'>
<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:black'>This e-mail and its contents are subject to a </span><span
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#595959'>DISCLAIMER</span><span
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:black'> with
important RESERVATIONS.</span><span style='font-size:8.0pt'><o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>