What does this C ++ compilation error mean?

Does anyone know what this could mean?

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

It works fine in my dev block, but fails due to this error in our CI field. It works on .NET 3.5.

Any help would be greatly appreciated.

+4
source share
2 answers

See this Microsoft Feedback Report . From the article:

Definition error should be the best. What you need to tell you is that the tool failed. The problem is that you do not have Visual Studio 2008 bits on your box. Thus, when the project was redirected to the v90 platform toolkit (which is the Visual Studio 2008 toolkit, it can be installed with the proper version of the Windows SDK that comes with Visual Studio 2008, which I believe is v6.0A) and the tools didn’t were installed, the assembly failed because she could not find the tools.

The reason it is being redirected to the v90 toolkit is because it is a compiler that matches the version corresponding to the CLR version 2.0.

Depending on where we are in the current cycle, we cannot change the message. But, since we need to improve the error message in this scenario, I decided to postpone so that we can look at this in the next cycle.

+6
source

I know this is an old question, but I came across a similar crash:

1> C: \ Program Files (x86) \ MSBuild \ Microsoft.Cpp \ v4.0 \ Platforms \ Win32 \ Microsoft.Cpp.Win32.Targets (147.5): MSB6006 error: "CL.exe" completed with code - 1073740777.

Fully reproducible and extremely annoying. In my case, this seems to be due to the infinitely long list of inclusion paths that my client uses (more than 16 Kbytes include path text, several hundred include paths to search), and when I cleared this and reduced the overall size, the crash disappeared.

So my suspicion is that Microsoft has a 16 kb buffer somewhere in its compiler, when the bombs are fully loaded. Hope that helps someone.

+1
source

Source: https://habr.com/ru/post/1308683/


All Articles