Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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 LNK1000: Internal error during IncrBuildImage
1>  Version 9.00.21022.08
1>  ExceptionCode            = C0000005
1>  ExceptionFlags           = 00000000
1>  ExceptionAddress         = 001FFCF7 (00180000) "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\link.exe"
1>  NumberParameters         = 00000002
1>  ExceptionInformation[ 0] = 00000000
1>  ExceptionInformation[ 1] = 011BD670
1>CONTEXT:
1>  Eax    = 400DA210  Esp    = 0014EADC
1>  Ebx    = 4000815C  Ebp    = 0014EB04
1>  Ecx    = 011BD670  Esi    = 400DA098
1>  Edx    = 0014EAF4  Edi    = 0018D6C0
1>  Eip    = 001FFCF7  EFlags = 00010246
1>  SegCs  = 00000023  SegDs  = 0000002B
1>  SegSs  = 0000002B  SegEs  = 0000002B
1>  SegFs  = 00000053  SegGs  = 0000002B
1>  Dr0    = 00000000  Dr3    = 00000000
1>  Dr1    = 00000000  Dr6    = 00000000
1>  Dr2    = 00000000  Dr7    = 00000000 
like image 852
Roman Kagan Avatar asked Jan 04 '10 18:01

Roman Kagan


3 Answers

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.

like image 166
interjay Avatar answered Nov 04 '22 23:11

interjay


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.

like image 1
Roman Kagan Avatar answered Nov 04 '22 22:11

Roman Kagan


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

like image 1
V.Mendez Avatar answered Nov 04 '22 23:11

V.Mendez