<div dir="ltr">Looks like the first part of your PATH might be confusing CMake:<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128); font-family: Arial; ">"C:\Program Files\Microsoft Visual C++ Toolkit 2003\"\bin;</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">Try to get rid of the " characters in the PATH value...</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">(Especially if that's the one where "cl" is...)</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">If that's not it, we'll have to think of something else.</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">Also: I do not think "==" works as a comparison operator in batch files. I have always used "EQU" instead of "==" -- see "help if" in a command prompt for more info than you'll want...</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">as in:<span class="Apple-style-span" style="border-collapse: separate; font-family: Arial; "></span></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><span class="Apple-style-span" style="border-collapse: separate; font-family: Arial; "> if "%VCTOOLKIT_VARS_ARE_SET%" EQU "true" goto done</span></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); "><div><span class="Apple-style-span" style="color: rgb(0, 0, 128);"><br>
</span></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 128);"><br></span></div></span></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">:-)</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);">David</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 128);"><br></span><br><div class="gmail_quote">On Thu, Oct 9, 2008 at 12:04 PM, Luke Kucalaba <span dir="ltr"><<a href="mailto:lkucalaba@dsci.com">lkucalaba@dsci.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="blue">
<div>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks David for the quick response.
Sorry I was having problems with message size, so I couldn't attach the
files I wanted to originally. I'll inline the vctoolkit.bat file here,
which is a small DOS script we use to setup the MSVC71 toolkit environment:</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">@echo off</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">if "%VCTOOLKIT_VARS_ARE_SET%" ==
"true" goto done</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">echo --- Setting Microsoft Visual C++
Toolkit 2003 environment variables... ---</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">rem Load VC++ 7.1 standard environment variables</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">call vcvars32.bat</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">rem Prepend VC++ toolkit paths</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">set
PATH="%VCToolkitInstallDir%"\bin;%PATH%</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">set
INCLUDE="%VCToolkitInstallDir%"\include;%INCLUDE%</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">set
LIB="%VCToolkitInstallDir%"\lib;%LIB%</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">set VCTOOLKIT_VARS_ARE_SET=true</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">echo Done.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">:done</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">@echo on</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Here's the output of the requested
commands (although "where" is not a supported dos prompt command in
Windows XP, so I couldn't run that one):</span></font></p><div class="Ih2E3d">
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>vctoolkit</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">--- Setting Microsoft Visual C++ Toolkit
2003 environment variables... ---</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Setting environment for using Microsoft
Visual Studio .NET 2003 tools.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">(If you have another version of Visual
Studio or Visual C++ installed and wish</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">to use its tools from the command line,
run vcvars32.bat for that version.)</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Done.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
</div><p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>cl</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Microsoft (R) 32-bit C/C++ Optimizing
Compiler Version 13.10.3077 for 80x86</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Copyright (C) Microsoft Corporation
1984-2002. All rights reserved.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">usage: cl [ option... ] filename... [
/link linkoption... ]</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>where
cl</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">'where' is not recognized as an internal
or external command,</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">operable program or batch file.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>which
cl</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">'which' is not recognized as an internal
or external command,</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">operable program or batch file.</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>echo
%PATH%</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">"C:\Program Files\Microsoft Visual
C++ Toolkit 2003\"\bin;C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\IDE</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">;C:\Program Files\Microsoft Visual Studio
.NET 2003\VC7\BIN;C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\T</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">ools;C:\Program Files\Microsoft Visual
Studio .NET 2003\Common7\Tools\bin\prerelease;C:\Program Files\Microsoft Visual
S</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">tudio .NET
2003\Common7\Tools\bin;C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\bin;C:\WINDOWS\Microsoft.N</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">ET\Framework\v1.1.4322;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\;C:\Program
Files\Borland\BDS\4.0\Bin;C:\Program Fil</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">es\Microsoft Visual Studio .NET
2003\Vc7\bin;C:\Program Files\CMake
2.6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\Sy</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">stem32\Wbem;C:\Program Files\Common
Files\GTK\2.0\bin;C:\Program Files\doxygen\bin;C:\Program Files\ATI
Technologies\ATI</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">.ACE\Core-Static;C:\Documents and
Settings\dsci\My Documents\Borland Studio Projects\Bpl;C:\Program Files\CMake
2.6\bin;</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Thanks</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy">Luke</span></font></p>
<p><font size="2" color="navy" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:navy"> </span></font></p>
<div>
<div align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></font></div>
<p><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> David Cole
[mailto:<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>] <br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, October 09, 2008
12:01 PM<br>
<b><span style="font-weight:bold">To:</span></b> Luke Kucalaba<br>
<b><span style="font-weight:bold">Cc:</span></b> <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [CMake] NMake
problems when upgrading to CMake 2.6.2</span></font></p>
</div><div><div></div><div class="Wj3C7c">
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">From your same command prompt that you ran cmake in (at "</span></font><span><font size="1" face="Consolas"><span style="font-size:8.5pt;font-family:Consolas">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake</span></font></span>")
what is the output of:</p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> cl</span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> where cl</span></font></p>
</div>
<div>
<p style="margin-bottom:12.0pt"><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> echo %PATH%</span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">?</span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
<div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">On Thu, Oct 9, 2008 at 11:51 AM, Luke Kucalaba <<a href="mailto:lkucalaba@dsci.com" target="_blank">lkucalaba@dsci.com</a>> wrote:</span></font></p>
<div link="blue" vlink="purple">
<div>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Our
software team is having problems upgrading to CMake 2.6.2 from our current
working build system that uses CMake <a href="http://2.4.7." target="_blank">2.4.7.</a>
In particular, we are using the "Visual Studio 7 .NET 2003", "NMake
Makefiles", "Unix Makefiles", and "CodeBlocks - Unix
Makefiles" project/makefile generators.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">The
first problem we encountered was with generating "NMake
Makefiles". We use the "Microsoft Visual C++ Toolkit 2003"
optimizing compiler in conjunction with the rest of the Visual Studio 7 .NET
2003 tools (like resource compiler and IDE), because we have a license for MSVC
7.1 and for the most part it does what we need it to do, and there is no reason
for us to pay for an upgrade to another IDE or compiler on Windows.
Anyway, that being said, I wrote a MSDOS batch script (vctoolkit.bat, attached)
that sets the appropriate combination of "Visual Studio 7 .NET 2003
Standard" and "Visual Studio .NET Optimizing Toolkit"
environment variables, by calling vcvars32.bat, and then by manually overriding
the PATH,INCLUDE,LIB environment variables to point to the optimizing
toolkit. We also discovered that in addition to this, we needed to
physically move a number of files out of the standard .NET bin folder so that
the optimizing compiler wouldn't try to use those VC7 "standard"
runtime files when performing multiple compile/link/compile/link steps
internally (btw, the conflicting bin files we had to move are: c1.dll,
c1xx.dll, c2.dll, cl.exe, cl.exe.config, link.exe, link.exe.config). This
was a bit challenging to set up at first (back when CMake 2.4.7 was released),
but now we are satisfied that this method of configuring the command-line
environment for nmake is satisfactory for our purposes and should invoke the
optimizing compiler when using nmake (from .NET standard).</span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">I
attached to this email a stdout/stderr dump of the cmake trace output.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>cmake
--trace -G"NMake Makefiles" .. > nmake-gen-trace.log 2>&1</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">-------------------------------------------------------</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">
Generating NMake using CMake 2.6.2 (command-prompt)</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">-------------------------------------------------------</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>vctoolkit</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">---
Setting Microsoft Visual C++ Toolkit 2003 environment variables... ---</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Setting
environment for using Microsoft Visual Studio .NET 2003 tools.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">(If
you have another version of Visual Studio or Visual C++ installed and wish</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">to
use its tools from the command line, run vcvars32.bat for that version.)</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Done.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">N:\dsci\repo\WMI\trunk\wxWMI\src\nmake>cmake
-G "NMake Makefiles" ..</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
The C compiler identification is unknown</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
The CXX compiler identification is unknown</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check for CL compiler version</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check for CL compiler version - failed</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check if this is a free VC compiler</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check if this is a free VC compiler - yes</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check CL platform</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check CL platform - 64 bit</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Using FREE VC TOOLS, NO DEBUG available</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check for working C compiler: cl</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">CMake
Error: your C compiler: "cl" was not found. Please set
CMAKE_C_COMPILER to a valid compiler path or name.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">CMake
Error: Internal CMake error, TryCompile configure of cmake failed</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">--
Check for working C compiler: cl -- broken</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">CMake
Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32
(MESSAGE):</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">
The C compiler "cl" is not able to compile a simple test program.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">
It fails with the following output:</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">
CMake will not be able to correctly generate this project.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Call
Stack (most recent call first):</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">
:2308322 (PROJECT)</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">CMake
Error: your C compiler: "cl" was not found. Please set
CMAKE_C_COMPILER to a valid compiler path or name.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">CMake
Error: your CXX compiler: "cl" was not found. Please set
CMAKE_CXX_COMPILER to a valid compiler path or name.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">*
Configuring incomplete, errors occurred!</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">We
did not encounter any problems like this when building MSVC71 NMake makefiles
with CMake <a href="http://2.4.7." target="_blank">2.4.7.</a> If anyone
has any ideas or suggestions, it would be greatly appreciated. I'm pretty
much stumped and at this point I am willing to try anything to get this to
work. Thanks in advance.</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Sincerely,</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Luke</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas"> </span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Luke
Kucalaba</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Senior
Software Engineer</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">D&S
Consultants, Inc</span></font></p>
<p><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">Columbus</span></font><font size="1" face="Consolas"><span style="font-size:8.0pt;font-family:Consolas">, Ohio</span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
<p><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial"> </span></font></p>
</div>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"><br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a></span></font></p>
</div>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt"> </span></font></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>