[CMake] Generator: Studio 8 2005

William A. Hoffman billlist at nycap.rr.com
Tue Jun 6 09:03:38 EDT 2006



At 08:46 AM 5/6/2006, Peter Kümmel wrote:
>Hi,
>
>"suddenly" the Visual Studio 8 2005 generator is broken.
>The only change I could remember is the VC hot fix:
>
>Visual Studio 2005 Fix for Working with Large Visual C++ Solutions
>
>http://msdn.microsoft.com/visualc/
>
>I've removed it, I've reinstalled VC, but nothings helps.
>
>But the nmake files are ok.
>
>Does anybody has an idea what's going on here?
>
>Many thanks,
>
>Peter
>
>
>Here the output, when using a empty CMakeLists.txt:
>
>C:\ctest>rm -rf *
>
>C:\ctest>cmake -G"Visual Studio 8 2005" ..
>-- Check for working C compiler: cl
>-- Check for working C compiler: cl -- broken
>The C compiler "cl" is not able to compile a simple test program.
>It fails with the following output:
>
>Microsoft (R) Visual C++ Express Edition Version 8.0.50727.42.
>Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
>Checking Build System
>-- Check for working C compiler: cl
>-- Check for working C compiler: cl -- broken
>The C compiler "cl" is not able to compile a simple test program.
>It fails with the following output:
>
>Microsoft (R) Visual C++ Express Edition Version 8.0.50727.42.
>Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
>Checking Build System
>Project : error PRJ0003 : Error spawning 'C:\WINNT\system32\cmd.exe'.
>Build Time 0:00
>ZERO_CHECK - 1 error(s), 0 warning(s)


ZERO_CHECK is a cmake run.    Can you try running
cmake --debug-trycompile 
Then load the try compile project, and try to figure out what is
going on.  It seems like you had the problem once in the past.

-Bill



More information about the CMake mailing list