G
Geoyar
Guest
Visual Studio 2019 Community v. 16.4.2, MFC project with Win 10 SDK, MFC 142 and C++ 17 ISO. OS is Win 10 Home.
The project was moved from machine with Win 7 Pro SP1. Under Win 7 the project was build and run in Debug and Release x96 configurations without problem. On new machine with Win 10 Home the Debug x86 configuration works fin, but Release x85 issues fatal linker error:
1>Generating code
1>LINK : fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\6\s\src\vctools\Compiler\Utc\src\p2\main.c', line 166)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> link!InvokeCompilerPass()+0x2e4f2
1> link!InvokeCompilerPass()+0x21ee0
1> link!InvokeCompilerPass()+0x21e01
1> link!InvokeCompilerPass()+0x2d584
1>
1>LINK : fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\6\s\src\vctools\Compiler\Utc\src\p2\main.c', line 166)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> link!InvokeCompilerPass()+0x2e4f2
1> link!InvokeCompilerPass()+0x21ee0
1> link!InvokeCompilerPass()+0x21e01
1> link!InvokeCompilerPass()+0x2d584
1>
1>
1>LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
1>
1> Version 14.24.28314.0
1>
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 79B93EAE (796D0000) "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\c2.dll"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 00000000
1>
1>CONTEXT:
1> Eax = 00000000 Esp = 007CE638
1> Ebx = 00000000 Ebp = 007CE648
1> Ecx = 00001505 Esi = 00000000
1> Edx = 00000000 Edi = 00000000
1> Eip = 79B93EAE 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
1>Done building project "ANNet.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I did not find VS 2019 in the list of MS Appa it Tech Support so I am using this forum.
Againm debug conf works without complaints.
What to do?
Continue reading...
The project was moved from machine with Win 7 Pro SP1. Under Win 7 the project was build and run in Debug and Release x96 configurations without problem. On new machine with Win 10 Home the Debug x86 configuration works fin, but Release x85 issues fatal linker error:
1>Generating code
1>LINK : fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\6\s\src\vctools\Compiler\Utc\src\p2\main.c', line 166)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> link!InvokeCompilerPass()+0x2e4f2
1> link!InvokeCompilerPass()+0x21ee0
1> link!InvokeCompilerPass()+0x21e01
1> link!InvokeCompilerPass()+0x2d584
1>
1>LINK : fatal error C1001: An internal error has occurred in the compiler.
1>(compiler file 'd:\agent\_work\6\s\src\vctools\Compiler\Utc\src\p2\main.c', line 166)
1> To work around this problem, try simplifying or changing the program near the locations listed above.
1>Please choose the Technical Support command on the Visual C++
1> Help menu, or open the Technical Support help file for more information
1> link!InvokeCompilerPass()+0x2e4f2
1> link!InvokeCompilerPass()+0x21ee0
1> link!InvokeCompilerPass()+0x21e01
1> link!InvokeCompilerPass()+0x2d584
1>
1>
1>LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
1>
1> Version 14.24.28314.0
1>
1> ExceptionCode = C0000005
1> ExceptionFlags = 00000000
1> ExceptionAddress = 79B93EAE (796D0000) "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX86\x86\c2.dll"
1> NumberParameters = 00000002
1> ExceptionInformation[ 0] = 00000000
1> ExceptionInformation[ 1] = 00000000
1>
1>CONTEXT:
1> Eax = 00000000 Esp = 007CE638
1> Ebx = 00000000 Ebp = 007CE648
1> Ecx = 00001505 Esi = 00000000
1> Edx = 00000000 Edi = 00000000
1> Eip = 79B93EAE 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
1>Done building project "ANNet.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I did not find VS 2019 in the list of MS Appa it Tech Support so I am using this forum.
Againm debug conf works without complaints.
What to do?
Continue reading...