[cmake-developers] [CMake 0014070]: CMake with Visual Studio 2012 broken

Mantis Bug Tracker mantis at public.kitware.com
Wed Apr 10 10:53:09 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=14070 
====================================================================== 
Reported By:                Jarle Aase
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14070
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-10 10:53 EDT
Last Modified:              2013-04-10 10:53 EDT
====================================================================== 
Summary:                    CMake with Visual Studio 2012 broken
Description: 
After re-install of Visual Studio 2012 with all updates, CMake can no longer
configure projects for this compiler. It appears like CMake tries to use some
"manifest:embed" option, which is no longer supported. 

Steps to Reproduce: 
Just configure a project for Visual Studio 11.
 I used the CMakeLists.txt file below:

  cmake_minimum_required (VERSION 2.8)
  add_executable(test test.cpp)



Additional Information: 
Output from CMake:

The C compiler identification is MSVC 17.0.51106.1
The CXX compiler identification is MSVC 17.0.51106.1
Check for working C compiler using: Visual Studio 11
Check for working C compiler using: Visual Studio 11 -- broken
CMake Error at C:/Program Files (x86)/CMake
2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):
  The C compiler "C:/Program Files (x86)/Microsoft Visual Studio
  11.0/VC/bin/cl.exe" is not able to compile a simple test program.

  It fails with the following output:

   Change Dir: C:/tmp/testCmake/build/CMakeFiles/CMakeTmp

  

  Run Build Command:C:\PROGRA~2\MICROS~2.0\Common7\IDE\devenv.com
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3319963856

  

  Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.51106.1.

  Copyright (C) Microsoft Corp.  All rights reserved.

  1>------ Build started: Project: cmTryCompileExec3319963856, Configuration:
  Debug Win32 ------

  1> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01
  for 80x86

  1> Copyright (C) Microsoft Corporation.  All rights reserved.

  1> 

  1> cl /c /Zi /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"cmTryCompileExec3319963856.dir\Debug\\"
  /Fd"cmTryCompileExec3319963856.dir\Debug\vc110.pdb" /Gd /TC /analyze-
  /errorReport:prompt testCCompiler.c

  1> 

  1> testCCompiler.c

  1>LINK : fatal error LNK1117: syntax error in option 'manifest:embed'

  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
  ==========

  

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  


Configuring incomplete, errors occurred!
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-10 10:53 Jarle Aase     New Issue                                    
======================================================================




More information about the cmake-developers mailing list