致命错误不能在编译VS 2012的C ++项目运行“mt.exe” [英] Fatal error cannot run 'mt.exe' at compiling VS 2012 C++ project

查看:517
本文介绍了致命错误不能在编译VS 2012的C ++项目运行“mt.exe”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我升级Visual Studio中VS专业2012

I upgraded Visual Studio to VS Professional 2012.

老楼的Visual C ++项目导致错误:

Building old Visual C++ projects resulted in the error:

LINK:致命错误LNK1158:无法运行mt.exe

把文件夹mt.exe到路径没有帮助。结果
目前我使用mt.exe文件夹C:\\ Program Files文件(x86)的\\微软的SDK \\ WINDOWS \\ v7.1A \\ BIN \\ 64

Putting the folder with mt.exe into the path did not help.
Currently I am using mt.exe in the folder C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\x64

推荐答案

设置生成清单作为无链接描述。这有助于

Set "Generate manifest" as No in Linker. This helped

这篇关于致命错误不能在编译VS 2012的C ++项目运行“mt.exe”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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