Note that there are some explanatory texts on larger screens.

plurals
  1. POCMake with Visual Studio 2012/2013 broken?
    primarykey
    data
    text
    <p>CMake 2.8.10.2 for Windows just refused to configure a project for me with Visual Studio 2012 (under Windows 7)</p> <p>It seems like CMake adds some settings that are no longer supported by the Microsoft compiler. <em>LINK : fatal error LNK1117: syntax error in option 'manifest:embed'</em></p> <p>I tried and got the same result with a very basic cmake file</p> <pre><code>cmake_minimum_required (VERSION 2.6) add_executable(test test.cpp) </code></pre> <p>Is there a work-around?</p> <p>The output window show:</p> <pre><code>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 cmTryCompileExec3122367237 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.51106.1. Copyright (C) Microsoft Corp. All rights reserved. 1&gt;------ Build started: Project: cmTryCompileExec3122367237, Configuration: Debug Win32 ------ 1&gt; Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86 1&gt; Copyright (C) Microsoft Corporation. All rights reserved. 1&gt; 1&gt; 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"cmTryCompileExec3122367237.dir\Debug\\" /Fd"C:/tmp/testCmake/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3122367237.pdb" /Gd /TC /analyze- /errorReport:prompt /Zm1000 testCCompiler.c 1&gt; 1&gt; testCCompiler.c 1&gt;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! </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload