[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    [CMake] Generator Toolset fails
From:       Mike <too.cheesy () gmail ! com>
Date:       2013-05-29 14:06:20
Message-ID: CAE_F3F8r8x3BeRtAZqRS+i7Y3OgTa6-EYgoeabnB61dEx16rVQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello, I'm trying to generate a Visual Studio 11 solution using v100
toolset and it is failing to compile a test program:

I run cmake -G "Visual Studio 11 Win64" -T "v100" <path to source>

-- The C compiler identification is MSVC 16.0.40219.1
-- The CXX compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler using: Visual Studio 11 Win64
-- Check for working C compiler using: Visual Studio 11 Win64 -- broken
CMake Error at
D:/vc11build/cmake-2.8.11/install/data/Modules/CMakeTestCCompiler.cmake:61
(message):
  The C compiler "c:/Program Files (x86)/Microsoft Visual Studio
  10.0/VC/bin/x86_amd64/cl.exe" is not able to compile a simple test
program.

  It fails with the following output:

   Change Dir: D:/vc11build/cmake-2.8.11/vc11w10-test/CMakeFiles/CMakeTmp



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



  Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.60315.1.

  Copyright (C) Microsoft Corp.  All rights reserved.



  The operation could not be completed.  The parameter is incorrect.

It then lists the devenv.com usage parameters:

devenv [solutionfile | projectfile | anyfile.ext] [switches]

And so on. Finally:

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


-- Configuring incomplete, errors occurred!

And so on.

[Attachment #5 (text/html)]

<div dir="ltr">Hello, I&#39;m trying to generate a Visual Studio 11 solution using \
v100 toolset and it is failing to compile a test program:<div><br></div><div>I run \
cmake -G &quot;Visual Studio 11 Win64&quot; -T &quot;v100&quot; &lt;path to \
source&gt;<br> <div><br></div><div><div>-- The C compiler identification is MSVC \
16.0.40219.1</div><div>-- The CXX compiler identification is MSVC \
16.0.40219.1</div><div>-- Check for working C compiler using: Visual Studio 11 \
Win64</div> <div>-- Check for working C compiler using: Visual Studio 11 Win64 -- \
broken</div><div>CMake Error at \
D:/vc11build/cmake-2.8.11/install/data/Modules/CMakeTestCCompiler.cmake:61 \
(message):</div><div>   The C compiler &quot;c:/Program Files (x86)/Microsoft Visual \
Studio</div> <div>   10.0/VC/bin/x86_amd64/cl.exe&quot; is not able to compile a \
simple test program.</div><div><br></div><div>   It fails with the following \
output:</div><div><br></div><div>     Change Dir: \
D:/vc11build/cmake-2.8.11/vc11w10-test/CMakeFiles/CMakeTmp</div> \
<div><br></div><div><br></div><div><br></div><div>   Run Build \
Command:C:\PROGRA~2\MICROS~3.0\Common7\IDE\<a \
href="http://devenv.com">devenv.com</a></div><div>   CMAKE_TRY_COMPILE.sln /build \
Debug /project cmTryCompileExec2195211524</div> \
<div><br></div><div><br></div><div><br></div><div>   Microsoft (R) Microsoft Visual \
Studio 2012 Version 11.0.60315.1.</div><div><br></div><div>   Copyright (C) Microsoft \
Corp.   All rights reserved.</div><div><br></div><div> <br></div><div><br></div><div> \
The operation could not be completed.   The parameter is \
incorrect.</div></div></div><div><br></div><div style>It then lists the <a \
href="http://devenv.com">devenv.com</a> usage parameters:</div> <div \
style><br></div><div style>devenv [solutionfile | projectfile | anyfile.ext] \
[switches]</div><div style><br></div><div style>And so on. Finally:</div><div \
style><br></div><div style><div>   CMake will not be able to correctly generate this \
project.</div> <div>Call Stack (most recent call first):</div><div>   \
CMakeLists.txt:11 (project)</div><div><br></div><div><br></div><div>-- Configuring \
incomplete, errors occurred!</div></div><div style><br></div><div style>And so \
on.</div> </div>



--

Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic