Fatal error cannot run 'mt.exe' at compiling VS 2012 C++ project

江枫思渺然 提交于 2019-12-13 05:36:03

问题


I upgraded Visual Studio to VS Professional 2012.

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

LINK : fatal error LNK1158: cannot run 'mt.exe'

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


回答1:


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



来源:https://stackoverflow.com/questions/19079611/fatal-error-cannot-run-mt-exe-at-compiling-vs-2012-c-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!