How to resolve fatal error LNK1000: Internal error during IncrBuildImage?

后端 未结 6 1923
甜味超标
甜味超标 2020-12-05 13:59

I am trying to recompile solution file for memcached project on Windows 7 64 bit with Visual Studio 2008 and got the following error:

1>LINK : fatal error         


        
相关标签:
6条回答
  • 2020-12-05 14:09

    I've had the same problem. Without setup a new hotfix I've found a very easy solution. To link a new solution I proceed in this way: 1) Compiling the file cpp (CTRL-F7) 2) Generating the solution (F7)

    All the times the problem has disappeared

    0 讨论(0)
  • 2020-12-05 14:21

    Turning off incremental linking didn't work for me because I was developing a static library and therefore instead of the Linker properties I had a Librarian.

    So I found one more way to fix this:

    Properties -> Configuration Properties -> C/C++ -> Optimization -> Whole program optimization

    switch to "No".

    It helped in my case.

    0 讨论(0)
  • 2020-12-05 14:21

    I had a similar error when compiling an unreal-engine4 v4.23 game on Windows 10 with VS 2017 Community Edition. The solution was just to update to the latest version of visual-studio, as the subsequent patches included a fix for this. I am currently at v15.9.18 and it's compiling without this error.

    No need to reboot or install any particular hotfixes, just the standard updates.

    0 讨论(0)
  • 2020-12-05 14:22

    I had a similar error. After trying many cleans and rebuilds I went for the more nuclear option.

    1. Deleted the entire source tree.
    2. Did a full get from TFS
    3. Restarted the computer
    4. Compiled.

    Could work for others, seemed to work for me.

    0 讨论(0)
  • 2020-12-05 14:25

    Installing Windows SDK 7 for 64 bit platform resolved my problem. I simply didn't have it when I've tried to compile without it. My bad.

    0 讨论(0)
  • 2020-12-05 14:26

    This is a bug in the linker. It may be the same as this problem. Try installing VS2008 Service Pack 1 if you don't have it as it contains that fix and others.

    If this doesn't help, turning off incremental linking may be a workaround.

    0 讨论(0)
提交回复
热议问题