Internal Error during BuildLibrary (VS2010 - MFC project)
Posted on 2011-02-10
I have the following error in one of my solutions, kind of all over the place - but only in 1 of my solutions... Have you seen this?
>LINK : fatal error LNK1000: Internal error during BuildLibrary
1> Version 10.00.30319.01
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 5CA52803 (5C870000) "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\c2.dll"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 52414D49
1> Eax = 00000025 Esp = 0035D5D4
1> Ebx = 0035D694 Ebp = 0035D5EC
1> Ecx = 52414D49 Esi = 5CADD2EC
1> Edx = 56D370FA Edi = 5CAD3622
1> Eip = 5CA52803 EFlags = 00010202
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
I also have the following warning before this happens:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(1151,5): warning MSB8012: TargetPath(C:\dev\OpenGLGraph\MyProject\Release\Utility.lib) does not match the Library's OutputFile property value (C:\devlio2008\Utility\Release\Utility.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile).
I've tried everything I can think of to try to set those variables correctly, but I just don't understand - and I'm not even sure which variables to try to modify...
Please help if you can and thanks,