MSB6006:“CL.exe”退出,代码为-1073741515 [英] MSB6006: "CL.exe" exited with code -1073741515

查看:498
本文介绍了MSB6006:“CL.exe”退出,代码为-1073741515的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Microsoft Visual Studio 2015来重建旧项目(可能最初是在VS 2010上构建的)。现在,当我尝试构建它时,我只有1个错误。 

I am working on Microsoft Visual Studio 2015 to rebuild an old project (may be originally built on VS 2010). Now I have only 1 error when I try to build it. 

错误来自Microsoft.Cpp.x64,其路径是  C:\Program Files(x86 )\ MSBuild\Microsoft.Cpp\v4.0\Platforms\x64

The error is from Microsoft.Cpp.x64 and the path of it is C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\x64

错误在第146行,它说

The error is in 146th line and it says

< CL条件=" '%(ClCompile.PrecompiledHeader)'= '创建' 和 '%(ClCompile.ExcludedFromBuild)'= '真' "!

<CL Condition="'%(ClCompile.PrecompiledHeader)' != 'Create' and '%(ClCompile.ExcludedFromBuild)'!='true'"

我不得不转到每个源文件并将预编译头设置为"不使用预编译头"并将build from build设置为"no"

I had gone to each source file and set precompiled headers as "not using precompiled headers" and set exclude from build as "no"

但仍然出现相同的错误。 

But still same error is showing up. 

我的平台工具集是Windows 7.1 SDK。   我的电脑操作系统是Windows 7

My platform toolset is windows 7.1 SDK. My computer OS is Windows 7

请建议并帮助




推荐答案

您好
RajKumar47,

感谢您在这里发帖。

由于您有MSBuild错误代码,我会将您的案例移至MSBuild论坛以获得更好的支持。

Since you have got a MSBuild error code, I will move your case to MSBuild forum for better support.

您的理解与合作将不胜感激。

Your understanding and cooperation will be grateful.

最诚挚的问候,

Sera Yu


这篇关于MSB6006:“CL.exe”退出,代码为-1073741515的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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