CMake:无法运行 MSBuild 命令:MSBuild.exe
问题描述
我正在尝试在 Windows 10 上使用 CMake
GUI 构建 FIAT.
I am trying to build FIAT using CMake
GUI on windows 10.
我将 CMake 配置为使用 Visual Studio 15 2017 编译器.
I configured CMake to use Visual Studio 15 2017 compiler.
我该如何解决这个问题?
How can I fix this?
如果需要,这里是 CMakeLists.txt 文件
If needed, here is the CMakeLists.txt file
根据您的建议,我尝试从 Developer Command Prompt for VS2015
构建,但仍然出现以下错误:
As per your recommendation, I tried building from the Developer Command Prompt for VS2015
but still got the following error:
这是我项目的 .vcxproj
文件
推荐答案
The error reading a missing Path to MSBuild.exe
The error reads a missing Path to MSBuild.exe
可能的解决方案是安装 MSBuild.exe
The possible solution to this is to install MSBuild.exe
向下滚动到其他工具和框架,然后安装Visual Studio 构建工具
这篇关于CMake:无法运行 MSBuild 命令:MSBuild.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!