千家信息网

CMake 生成错误

发表于:2025-01-31 作者:千家信息网编辑
千家信息网最后更新 2025年01月31日,1)Failed to run MSBuild commandCMake Error at CMakeLists.txt:3 (project):Failed to run MSBuild comma
千家信息网最后更新 2025年01月31日CMake 生成错误

1)Failed to run MSBuild command

CMake Error at CMakeLists.txt:3 (project):

Failed to run MSBuild command:

MSBuild.exe

to get the value of VCTargetsPath:

Configuring incomplete, errors occurred!


解决

系统环境变量中添加MSBuild.exe的执行路径

点击系统高级,Path追加D:\vs2017dev\ide\MSBuild\15.0\Bin

0