win7下vc2010平台工具集v90编译LINK : fatal error LNK1000: Internal error during IncrBuildImage

来源:互联网 发布:大华手机远程监控软件 编辑:程序博客网 时间:2024/06/06 08:52

LINK : fatal error LNK1000: Internal error during IncrBuildImage

1> 
1>    Version 9.00.21022.08
1> 
1>    ExceptionCode            = C0000005
1>    ExceptionFlags           = 00000000
1>    ExceptionAddress         = 0047FCF7 (00400000) "D:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.exe"
1>    NumberParameters         = 00000002
1>    ExceptionInformation[ 0] = 00000000
1>    ExceptionInformation[ 1] = 0004D670
1> 
1>  CONTEXT:
1>    Eax    = 403FACA4  Esp    = 0012F2E4
1>    Ebx    = 40008178  Ebp    = 0012F30C
1>    Ecx    = 0004D670  Esi    = 403FAB0C
1>    Edx    = 0012F2FC  Edi    = 0040D6C0
1>    Eip    = 0047FCF7  EFlags = 00010246
1>    SegCs  = 0000001B  SegDs  = 00000023
1>    SegSs  = 00000023  SegEs  = 00000023
1>    SegFs  = 0000003B  SegGs  = 00000000
1>    Dr0    = 00000000  Dr3    = 00000000
1>    Dr1    = 00000000  Dr6    = 00000000
1>    Dr2    = 00000000  Dr7    = 00000000
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

一、下微软的补丁:KB948127补丁来解决,http://code.msdn.microsoft.com/KB948127。貌似安装了也不起作用
二、如果下载的补丁没安装成功或下载失败,可以用下面的方法手工来改工程设置
项目(Project)->属性(Property)->链接器(Linker)->常规(General) 下面的“启用增量链接(Enable Incremental Linking)”,将“是(/INCREMENTAL)”改为“否(/INCREMENTAL:NO)”。不过这又引入了另外一个警 告:FormatCom.obj : warning LNK4075: 忽略“/EDITANDCONTINUE”(由于“/INCREMENTAL:NO”规范)

选择项目,属性(Property pages)->配置属性(Configuration Properties) ->C/C++ ->常规,修改“调试信息格式(Debug Information Format)”为“程序数据库(Program Database(/Zi))”即可。

 

参考 http://blog.csdn.net/xiangyunl/article/details/5830481

 

 

原创粉丝点击