博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
一个开发环境遇到的问题
阅读量:4497 次
发布时间:2019-06-08

本文共 1939 字,大约阅读时间需要 6 分钟。

FIX: “CL.exe” exited with code -1073741515 & cannot run ‘rc.exe’

Hey folks,

had this nasty error after re-installing Windows 7 on my Notebook.

Installed Visual Studio 2010, wanted to build a project and obviously.. it didn’t work.

 

I actually got this error message:

1>—— Build started: Project: Win32Project2, Configuration: Debug Win32 ——

1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(251,5): error MSB6006: “CL.exe” exited with code -1073741515.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Since there wasn’t any really helping solution for this online I tried reinstalling Visual Studio many times, without success. (Damn re-installing takes a lot of time)

-1073741515 = STATUS_DLL_NOT_FOUND

Running CL.exe manually ended up with an Message-box telling me there’s an DLL missing.

After a while trying around I came up with this solution:

(I was installing Visual Studio 2012 on Windows 7 64Bit)

Part 1: FIX  error MSB6006: “CL.exe” exited with code -1073741515.

Add this to your PATH environment variables:

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

Copy those files:

msobj110.dll

mspdb110.dll
mspdbcore.dll
mspdbsrv.exe

From

C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE

to

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

Congrats, you _should_ be able to build your project now..

sounds a bit naive what, right after that was fixed the next error popped up:

Part 2: FIX  LINK : fatal error LNK1158: cannot run ‘rc.exe’

Add this to your PATH environment variables:

C:\Program Files (x86)\Windows Kits\8.0\bin\x86

Copy those files:

rc.exe

rcdll.dll

From

C:\Program Files (x86)\Windows Kits\8.0\bin\x86

to

C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

原文链接:

http://i-am-bryan.com/webs/tutorials/fix-cl-exe-exited-with-code-1073741515-cannot-run-rc-exe/

 

转载于:https://www.cnblogs.com/haohaoday/p/5533822.html

你可能感兴趣的文章
Wget下载终极用法和15个详细的例子
查看>>
JavaScript16进制颜色值和rgb的转换
查看>>
Laravel 输出Hellow World!
查看>>
【bzoj 十连测】[noip2016十连测第九场]Problem B: 小P的单调区间(最长上升子序列+树状数组)...
查看>>
linux--samba
查看>>
django基础之中介模型
查看>>
关于副本机制
查看>>
Oracle之存储过程
查看>>
storm实战:基于storm,kafka,mysql的实时统计系统
查看>>
解决电脑复选框图标不正确方法
查看>>
伪数组怎么转为真正的数组呢~
查看>>
WebGL笔记(六):简单灯光
查看>>
JavaScript利用数组原型,添加方法实现遍历多维数组每一个元素
查看>>
ASP.NET生成缩略图
查看>>
“NASA”计划背后_阿里巴巴大数据系统架构概述
查看>>
oracle 查询树结构节点下的数量
查看>>
小练习
查看>>
px4的CMakelists.txt阅读
查看>>
linux-usb软件系统架构
查看>>
MySQL基础
查看>>