VS2008再添加一个文件后,出现如下问题:
1>------ 已启动全部重新生成: 项目: exceluser, 配置: Debug Win32 ------
1>正在删除项目“exceluser”(配置“Debug|Win32”)的中间文件和输出文件
1>正在编译...
1>stdafx.cpp
1>正在编译...
1>exceluser.cpp
1>exceluserDlg.cpp
1>正在生成代码...
1>正在编译资源...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>正在编译资源清单...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>正在链接...
1>LINK : 没有找到 C:\Users\Administrator\Desktop\exceluser\Debug\exceluser.exe 或上一个增量链接没有生成它;正在执行完全链接
1>正在嵌入清单...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>LINK : fatal error LNK1000: Internal error during IncrBuildImage
1> Version 9.00.21022.08
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 0012FCF7 (000B0000) "D:\Program Files\Microsoft Visual Studio 9.0\VC\bin\link.exe"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 013AD670
1>CONTEXT:
1> Eax = 405D3948 Esp = 0041EB1C
1> Ebx = 400081C4 Ebp = 0041EB44
1> Ecx = 013AD670 Esi = 405D37C8
1> Edx = 0041EB34 Edi = 000BD6C0
1> Eip = 0012FCF7 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
1>生成日志保存在“file://c:\Users\Administrator\Desktop\exceluser\exceluser\Debug\BuildLog.htm”
1>exceluser - 1 个错误,0 个警告
========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========
在网上看了各种解决办法,但是,后来根据VC++ 6.0的经验,把他给解决了:
1、关掉已经打开的工程;
2、删除 *.suo *.ncb 和两个Debug目录;
3、打开工程:生产 --> 生产解决方案,OK了!
1>------ 已启动生成: 项目: exceluser, 配置: Debug Win32 ------
1>正在编译...
1>stdafx.cpp
1>正在编译...
1>exceluser.cpp
1>exceluserDlg.cpp
1>正在生成代码...
1>正在编译资源...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>正在编译资源清单...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>正在链接...
1>正在嵌入清单...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>生成日志保存在“file://c:\Users\Administrator\Desktop\exceluser\exceluser\Debug\BuildLog.htm”
1>exceluser - 0 个错误,0 个警告
========== 生成: 成功 1 个,失败 0 个,最新 0 个,跳过 0 个 ==========
[VS2008]1>LINK : fatal error LNK1000: Internal error during IncrBuildImage
原文:http://blog.csdn.net/ieczw/article/details/19687887