[CMake] Generator: Studio 8 2005

Peter Kümmel syntheticpp at gmx.net
Tue Jun 6 08:45:39 EDT 2006


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>cmake -G"NMake Makefiles" ..
-- Check for CL compiler version
-- Check for CL compiler version - 1400
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: cl
-- Check for working C compiler: cl -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: cl
-- Check for working CXX compiler: cl -- works
-- Configuring done
-- Generating done
-- Build files have been written to: C:/ctest

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)


More information about the CMake mailing list