2017-08-04 109 views
0

我目前具有不能够生成/编译使用CMake的UWP项目代码视觉工作室2017年企业版的问题,的Visual Studio 2017年CMake的问题与UWP项目

的错误: - 一个Windows Store组件与CMake需要Windows桌面SDK 以及Windows Store '10.0'SDK。请确保你有 都安装

我已经跟踪了一段时间的问题搜索似乎CMake visual studio的版本正在使用不能正确找到Windows 10 SDK或Windows桌面SDK,我试图交换版本的cmake VS2017正在使用较新的版本,例如(我试过3.8和3.9)都在一定程度上工作,直到在cmake目标信息提取的输出中发布解析错误。

,我发现其中的原因是因为VS2017使用CMake的定制版 - 3.7.20170106-gd3236-脏MSVC_2

没有任何人有周围的工作得到UWP项目,2017年VS CMake的工作。

回答

0

看起来这是一个已知的问题。

The 3.7.2 version of CMake bundled with Visual Studio 2017 (latest update) cannot on its own find the Visual Studio 2017 build tools. Using CMake 3.8.1 (current CMake release), the tools can be found no problem.

你可以从这里看到更详细的信息:Visual Studio 2017 CMake Build Tools Bug

所以,请尽量使用CMake 3.8

相关问题