CL.exe 在 Visual Studio 2012 中崩溃 [英] CL.exe crashes in Visual Studio 2012
问题描述
我最近安装了 Visual Studio 2012,但我似乎无法正确构建我的解决方案,因为 IDE 报告了 CL.exe 崩溃.
I installed Visual Studio 2012 recently and it appears that I'm unable to build my solutions properly as the IDE is reporting a crash in CL.exe.
它报告的唯一错误是error MSB6006: "CL.exe" exited with code 1073741855
.除此之外,我收到了很多关于 Microsoft.CppCommon.targets
的警告.许多错误的形式都是未声明‘x’属性."
The only error it's reporting is error MSB6006: "CL.exe" exited with code 1073741855
. In addition to this, I'm getting a lot of warnings concerning Microsoft.CppCommon.targets
. Lots of the errors are of the form "The 'x' attribute is not declared."
这似乎是一个愚蠢的问题,但我不明白为什么要这样做.
This might seem like a stupid question, but I cannot understand why it's doing this.
根据这个问题中接受的答案,错误代码的意思是STATUS_WX86_BREAKPOINT
.我不清楚这与我正在做的事情有什么关系.
According to the accepted answer in this question, the error code means STATUS_WX86_BREAKPOINT
. It's not clear to me how this is relevant to what I'm doing.
我创建了一个空的解决方案并放置了以下代码:
I created an empty solution and put this code:
int main() {
return 0;
}
只是看看问题是否仍然存在.确实如此.
Just to see if the problem remains. It does.
可能有用的信息:
- 操作系统:Windows 7
- IDE 版本:11.0.50727.1 RTMREL
问题:
- 为什么会这样?
- 我该怎么做才能弄清楚发生了什么?
- 我该怎么做才能解决问题?
- 此问题中提供的信息是否足够?
推荐答案
我已经通过更新 Visual Studio 2012 解决了这个问题.这个可以忽略.抱歉浪费您的时间.
I have solved the problem by updating Visual Studio 2012. This can be ignored. Sorry for wasting your time.
自我注意:无论您有多少带宽,都不要忽略更新.;_;
Note to self: Never ignore updates no matter how much little bandwidth you have. ;_;
这篇关于CL.exe 在 Visual Studio 2012 中崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!