CMake说C编译器坏了 [英] CMake says c compiler is broken

查看:141
本文介绍了CMake说C编译器坏了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚尝试使用Firebreath,并按照Windows的视频教程进行操作,并遇到错误消息:

I've just attempted to use Firebreath and have followed their video tutorial for Windows and come across the error that says:

使用Visual Studio检查可运行的C编译器10-损坏
Check for working C compiler using Visual Studio 10 -- broken

然后说:

失败,输出如下:
更改目录:
It fails with following output: Change Dir:

然后列出驱动器。运行prep2010.cmd时会发生这种情况。我找到了有关它的帖子,但是论坛不允许我登录,也没有答案。它在这里: http://forum.firebreath.org/topic/274 /?page = 1#post-1117 ,并且我认为是完全相同的错误。上一篇文章讨论了从vs2010命令shell内部运行prep2010。这是什么意思?

And then lists the drive. This happens when running prep2010.cmd. I have found a post about it, but the forums won't let me log in and there is no answer. It's here: http://forum.firebreath.org/topic/274/?page=1#post-1117 and is exactly the same error, I believe. The last post talks about running prep2010 from inside the vs2010 command shell. What does that mean?

还有其他人遇到此错误或知道它是如何引起的吗?我不知道该如何处理。

Has anyone else had this error or know how it is caused? I have no idea how to approach it.

谢谢

推荐答案

我知道这确实很旧。.但是如果其他人遇到此问题,对我来说解决方案是为Visual Studio 2010安装Service Pack 1

I know this is really old.. but in case someone else has this problem, the solution for me was to install service pack 1 for visual studio 2010

这篇关于CMake说C编译器坏了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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