← All tasks
cppcocos2d/cocos2d-x #18838Not a task: not reproduced

Cocos2dx failed with cmake when build with MSVC

envgap__cocos2d__cocos2d-x-18838

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
eae47d008d66a9998bd2a25e6577415b52712557
Manifest
templates/cpp-template-default/CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

cocos2d/cocos2d-x #18838 · read the original issue
Hi All,



I tried to build cocos2d-x with Visual studio 2017 update2 on Windows Server 2016, but it failed with CMake. This issue can be reproduced from v3 revision e74e07b. Could you help have a look about this issue? Thanks in advance!



**Steps to Reproduce:**

1. git clone --recursive https://github.com/cocos2d/cocos2d-x.git D:\Cocos2dx\src

2. Open a VS 2017 command prompt and browse to D:\Cocos2dx

3. mkdir build_x86 && pushd build_x86

4. cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.15063.0 ..\src



**Actual result:**

The whole log file please see attachment.

[log_x86_cmake.log](https://github.com/cocos2d/cocos2d-x/files/2021951/log_x86_cmake.log)

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]