致命错误LNK1158:无法运行'mt.exe' [英] fatal error LNK1158: cannot run 'mt.exe'

查看:4599
本文介绍了致命错误LNK1158:无法运行'mt.exe'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道问题致命错误不能运行'mt.exe'在编译VS 2012 C ++项目,但我不满意答案在那里。我把我的视觉工作室项目从VS2010转换到VS2012。但是当我编译我的解决方案,我收到致命错误LNK1158:无法运行'mt.exe'错误。如上所述,链接设置生成清单为链接器中的否正在工作,但不适用于我。我需要生成清单。我在google搜索,但没有找到其他适用的答案。

I aware of question Fatal error cannot run 'mt.exe' at compiling VS 2012 C++ project but I am not satisfied with answer out there. I converted my visual studio project from VS2010 to VS2012. But when i compiled my solution, I received "fatal error LNK1158: cannot run 'mt.exe'" error. As suggested in mentioned link "Set "Generate manifest" as No in Linker" is working but not applicable for me. I need to generate manifest. I search out in google but no other applicable answer found. Please provide any help, link to come out of this issue.

以下链接已尝试过:


  1. 生成'mt.exe'错误

  2. Connection refused

  1. Error spawning 'mt.exe'
  2. Connection refused


推荐答案

帮助:

与fxc.exe的错误很像,将mt.exe复制到同一个VS目录安装文件中找到fxc.exe,这意味着没有外部链接需要这些exe的,并节省了一点编译时间,只要你使用相同的vs安装,将适用于所有的项目。

Much like errors with fxc.exe, copy mt.exe into the same VS directory install files in which you find fxc.exe, this means there's no external linkage required for these exe's and saves a bit of compile time and as long you're using the same vs install, will work for all projects.

希望它为你。

此问题的答案包含一个示例:

The answer to this question contains an example: Visual Studio can't build due to rc.exe

这篇关于致命错误LNK1158:无法运行'mt.exe'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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