mt.exe : general error c101008d: Failed to write the updated manifest ...

来源:互联网 发布:俄罗斯方块 源码分析 编辑:程序博客网 时间:2024/06/01 10:45

由于项目的需要,要求升级到2005,在这期间除了让我莫名其妙的问题。
    (1)编译的时候出下面的警告:
    mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "../release/!1&,.exe". {_~0 v

    解决办法:项目属性——配置属性——链接器——清单文件中,把生成清单改成否就行了。
    经过进一步的探索,发现在项目属性——配置属性——清单工具——输入和输出中,把嵌入清单改成否也行。
    (2)提示没有找到MSVCR80.DLL
     在stdafx.h中添加了
     #pragma comment(linker, "/"/manifestdependency:type='Win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='X86' publicKeyToken='1fc8b3b9a1e18e3b' language='*'/"")
     问题就解决了。

原创粉丝点击