[cmake-developers] [CMake 0011967]: CMake is unable to produce project-files (VS2010)

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 14 04:16:20 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11967 
====================================================================== 
Reported By:                ThomasZymara
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11967
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2011-03-14 04:16 EDT
Last Modified:              2011-03-14 04:16 EDT
====================================================================== 
Summary:                    CMake is unable to produce project-files (VS2010)
Description: 
After a new install of CMake 2.8.4, cmake-gui is not able to create project
files for Visual Studio 2010, because of tryCompile (CMakeTestCCompiler.cmake)
failes:

"""
CMake Error at
C:/Programme/CMake/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:56
(MESSAGE):
  The C compiler "cl" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir:
D:/3RDDStrunk/RDDS_Trunk/Software/Out/ProjectFiles/CMakeFiles/CMakeTmp

Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
  cmTryCompileExec.vcxproj /p:Configuration=Debug

  Microsoft (R)-Buildmodul, Version 4.0.30319.1

  [Microsoft .NET Framework, Version 4.0.30319.225]

  Copyright (C) Microsoft Corporation 2007.  Alle Rechte vorbehalten.

  

  Der Buildvorgang wurde am 14.03.2011 09:00:01 gestartet.

  Projekt
 
"D:\3RDDStrunk\RDDS_Trunk\Software\Out\ProjectFiles\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj"
  auf Knoten "1" (Standardziele).

  InitializeBuildStatus:

    "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild" wird
erstellt, da "AlwaysCreate" angegeben wurde.

  ClCompile:

    C:\Programme\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /nologo /W3
/WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D
_MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/3RDDStrunk/RDDS_Trunk/Software/Out/ProjectFiles/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 

  
 
C:\Programme\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(153,5):
  error : Die erforderliche Datei "" fehlt.
 
[D:\3RDDStrunk\RDDS_Trunk\Software\Out\ProjectFiles\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]

(.....)
"""

If I switch to VS2005, everything works.

My Environment:
(Windows XP, SP3)
1) Windows SDK 7.1 (7.0 was removed)
2) Visual Studio 2010 Premium + ServicePack 1
3) Visual Studio 2005 Prof. + SP1






====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-14 04:16 ThomasZymara   New Issue                                    
======================================================================




More information about the cmake-developers mailing list