[vs2008] fatal error LNK1000: Internal error during IncrBuildImage

Bug of vs2008,  

the solved way declared by MS:  http://support.microsoft.com/kb/948127


Another way:

project properties-> Configuration Properties -> Linker -> General

change "Enable Incremental Linking"

default: Yes(/INCREMENTAL), change to: No(/INCREMENTAL:NO)


From: http://www.dotblogs.com.tw/ireullin/archive/2010/05/30/15501.aspx

===================================================

What is "Incremental Linking" ?


The /INCREMENTAL option controls how the linker handles incremental linking.



An incrementally linked program is functionally equivalent to a program that is nonincrementally linked.

However, because it is prepared for subsequent incremental links, an incrementally linked executable (.exe) file or dynamic-link library (DLL):

1) Is larger than a nonincrementally linked program because of padding of code and data. (Padding allows the linker to increase the size of functions and data without recreating the .exe file.)

2) May contain jump thunks to handle relocation of functions to new addresses.

* Note: To ensure that your final release build does not contain padding or thunks, link your program nonincrementally.


When " /INCREMENTAL" option is selected, the linker issues a warning if it cannot link incrementally, and then links the program nonincrementally.

Certain options and situations override /INCREMENTAL.

Most programs can be linked incrementally. However, some changes are too great, and some options are incompatible with incremental linking.


From: http://msdn.microsoft.com/library/4khtbfyf(v=vs.90).aspx

文章標籤
創作者介紹

用ˇ去體會世界

Yaping 發表在 痞客邦 PIXNET 留言(0) 人氣()