The Mt.exe file is a tool that generates signed files and catalogs

来源:互联网 发布:学java有前景吗 编辑:程序博客网 时间:2024/06/05 21:12

我用的C++编译器是VS2008,系统是Win7.在点击调试-启动调试 的时候,有时候正确运行,而有时候又出现如下错误信息:

  
  1. 1>------ 已启动生成: 项目: VolumeRender, 配置: Debug Win32 ------ 
  2. 1>正在嵌入清单... 
  3. 1>mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\Debug\VolumeRender.exe". R]?n 
  4. 1>生成日志保存在“file://G:\XiaJun\Workspace\VolumeData\VolumeRender2.2\Debug\BuildLog.htm” 
  5. 1>VolumeRender - 1 个错误,0 个警告 
  6. ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 ==========

这是为什么呢?有谁遇到过这样的问题的吗?

微软的官方解释:The Mt.exe file is a tool that generates signed files and catalogs.
http://msdn.microsoft.com/en-us/library/aa375649.aspx

生成可执行程序的时候调用mt.exe将manifest文件写入该可执行程序,但是由于杀毒软件的监控,该文件的句柄被截获,不可写入。

关掉杀毒软件试试。

0 0
原创粉丝点击