MSBuild.exe 已停止 cmake 错误 [英] MSBuild.exe has stopped cmake error

查看:24
本文介绍了MSBuild.exe 已停止 cmake 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天能够使用 CMake 编译 zlib,但唯一可能的更改是安装 Windows 10 SDK 10.0.14393.33,现在我使用相同的选择配置它(Visual Studio 14 2015 win64)我收到以下错误:

I was able to compile zlib yesterday with CMake but the only possible change was installing Windows 10 SDK 10.0.14393.33 and now that I configure it with the same choice (Visual Studio 14 2015 win64) I get the following error:

知道可能出了什么问题以及如何解决吗?

Any idea what could have gone wrong and how to fix it?

The C compiler identification is unknown
CMake Error: Could not find cmake module file: C:/Users/mona/playing-for-data/renderdoc/renderdoc/3rdparty/zlib/build /CMakeFiles/3.7.1/CMakeCCompiler.cmake
CMake Error at CMakeLists.txt:4 (project):
  No CMAKE_C_COMPILER could be found.


Configuring incomplete, errors occurred!
See also "C:/Users/mona/playing-for-data/renderdoc/renderdoc/3rdparty/zlib/build /CMakeFiles/CMakeOutput.log".
See also "C:/Users/mona/playing-for-data/renderdoc/renderdoc/3rdparty/zlib/build /CMakeFiles/CMakeError.log".

推荐答案

嗯,真的很奇怪,但事实证明你必须通过右键单击可执行文件并以管理员身份运行它来运行 CMake.我不确定这是否是正确的解决方案,但现在它正在工作!!!

well, really weird but turns out you have to run CMake with right clicking on the executable and running it as admin. I am not sure if this is the correct solution but now it is working!!!

这篇关于MSBuild.exe 已停止 cmake 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆