Omer Obaid
Omer Obaid

Reputation: 416

Unable to build my code using Microsoft Visual Studio 2010

I'm using Microsoft Visual Studio 2010. It was going fine until this morning when I try to build my code. It gave me this weird error:

C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms
\Win32\Microsoft.Cpp.Win32.Targets(147,5)
:error` MSB6006: "CL.exe" exited with code 1073741855.

I have no idea why this error is occuring. I need help please.

I am using Window 7.

Upvotes: 0

Views: 1841

Answers (2)

JHowIX
JHowIX

Reputation: 1803

For those of you looking to avoid the (timely) process of uninstalling and reinstalling Visual Studio, a simple restart worked for me. I have noticed this happens more often when I have multiple Visual Studio windows open.

Upvotes: 0

Carey Gregory
Carey Gregory

Reputation: 6846

1073741855 is 0x0x4000001f, and 0x1f is decimal 31, and 31 is ERROR_GEN_FAILURE. In other words, something is hosed and VS isn't going to tell you what it is.

Go to Control Panel/Programs and Features, right click, Uninstall/Change, Repair/Reinstall. If that doesn't fix the problem, I would uninstall VS completely and reinstall.

Upvotes: 1

Related Questions