[cmake-developers] [CMake 0015062]: CMake does not support solutions configuration for simulator (x86)
Mantis Bug Tracker
mantis at public.kitware.com
Wed Aug 6 10:22:15 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15062
======================================================================
Reported By: a.grudin
Assigned To:
======================================================================
Project: CMake
Issue ID: 15062
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: high
Status: new
======================================================================
Date Submitted: 2014-08-06 10:22 EDT
Last Modified: 2014-08-06 10:22 EDT
======================================================================
Summary: CMake does not support solutions configuration for
simulator (x86)
Description:
When I am building for "Visual Studio 11 Arm" Solution is formed and built
successfully. But in case of "Visual Studio 11"
cmake -G "Visual Studio 11" -T v110_wp80
-DCMAKE_INSTALL_PREFIX="C:\Users\Tester\Desktop\===" -DBUILD_WP8=1
-DBUILD_STATIC=1 C:\Users\Tester\Desktop\====
-- The C compiler identification is MSVC 17.0.60315.1
-- The CXX compiler identification is MSVC 17.0.60315.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/WPSDK/WP80/bin/cl.exe" is not able to compile a simple test
program.
It fails with the following output:
Change Dir:
C:/Users/Tester/AppData/Local/Temp/mpimglib2014__0_We__18_12_05/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com
CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec503066232
Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.60315.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: cmTryCompileExec503066232, Configuration:
Debug Win32 ------
1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.60315.1 for x86
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 /D WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
/Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope
/Fo"cmTryCompileExec503066232.dir\Debug\\"
/Fd"C:/Users/Tester/AppData/Local/Temp/mpimglib2014__0_We__18_12_05/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec503066232.pdb"
/Gd /TC /analyze- /errorReport:prompt testCCompiler.c
1>
1> testCCompiler.c
1>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'
========== 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):
CMakeLists.txt:262 (project)
-- Configuring incomplete, errors occurred!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-08-06 10:22 a.grudin New Issue
======================================================================
More information about the cmake-developers
mailing list