cdacamar / ball_pit

A simple physics-based ball pit!
MIT License
28 stars 8 forks source link

Internal compiler error #4

Closed damian-tomczak closed 1 year ago

damian-tomczak commented 1 year ago

Hey, I have met with such problem. Can somebody try to repro it?

Build started...
1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>1>Checking Build System
2>------ Build started: Project: ball_pit, Configuration: Debug x64 ------
2>Building Custom Rule C:/Users/damian/Desktop/ball_pit/CMakeLists.txt
2>Scanning sources for module dependencies...
2>enum-utils.ixx
2>physics-engine.ixx
2>basic-types.ixx
2>physics-ball.ixx
2>util.ixx
2>physics-utils.ixx
2>random-generator.ixx
2>pge-bridge.ixx
2>physics.ixx
2>world.ixx
2>quad-tree.ixx
2>stopwatch.ixx
2>Compiling...
2>enum-utils.ixx
2>stopwatch.ixx
2>pge-bridge.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.08171s < 508716950275 - 508717767406 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\enum-utils.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00640s < 508717771311 - 508717835350 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\enum-utils.ixx]
2>random-generator.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=1.20563s < 508718462200 - 508730518488 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\random-generator.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00707s < 508730522175 - 508730592900 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\random-generator.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=1.69484s < 508717009794 - 508733958178 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\stopwatch.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.01126s < 508733961819 - 508734074374 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\stopwatch.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=2.47242s < 508717010405 - 508741734568 > BB [C:\Users\damian\Desktop\ball_pit\modules\bridges\pge-bridge.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.01656s < 508741738377 - 508741904014 > BB [C:\Users\damian\Desktop\ball_pit\modules\bridges\pge-bridge.ixx]
2>basic-types.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.01501s < 508742472723 - 508742622855 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\basic-types.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00294s < 508742625074 - 508742654523 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\basic-types.ixx]
2>world.ixx
2>physics-utils.ixx
2>util.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.01568s < 508743190109 - 508743346929 > BB [C:\Users\damian\Desktop\ball_pit\modules\world\world.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.01436s < 508743209150 - 508743352791 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-utils.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00336s < 508743349388 - 508743383024 > BB [C:\Users\damian\Desktop\ball_pit\modules\world\world.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00302s < 508743355195 - 508743385432 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-utils.ixx]
2>physics-ball.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.01494s < 508743894576 - 508744043999 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-ball.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00325s < 508744047008 - 508744079550 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-ball.ixx]
2>quad-tree.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.35577s < 508743243846 - 508746801538 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\util.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00530s < 508746806627 - 508746859585 > BB [C:\Users\damian\Desktop\ball_pit\modules\util\util.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.36938s < 508744582120 - 508748275918 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\quad-tree.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00491s < 508748279096 - 508748328236 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\quad-tree.ixx]
2>physics-engine.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=1.18372s < 508748826741 - 508760663937 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-engine.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.01073s < 508760667505 - 508760774773 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics-engine.ixx]
2>physics.ixx
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.01129s < 508761279623 - 508761392515 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics.ixx]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00319s < 508761394880 - 508761426786 > BB [C:\Users\damian\Desktop\ball_pit\modules\physics\physics.ixx]
2>olcPixelGameEngine.cpp
2>ball-pit.cpp
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.12405s < 508762539786 - 508763780303 > BB [C:\Users\damian\Desktop\ball_pit\src\ball-pit.cpp]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00425s < 508763783188 - 508763825686 > BB [C:\Users\damian\Desktop\ball_pit\src\ball-pit.cpp]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=1.99347s < 508762537024 - 508782471722 > BB [C:\Users\damian\Desktop\ball_pit\src\3rd_party\olcPixelGameEngine.cpp]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.02186s < 508782475004 - 508782693611 > BB [C:\Users\damian\Desktop\ball_pit\src\3rd_party\olcPixelGameEngine.cpp]
2>physics-ball.cpp
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.02267s < 508783530859 - 508783757601 > BB [C:\Users\damian\Desktop\ball_pit\src\physics\physics-ball.cpp]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00346s < 508783760131 - 508783794682 > BB [C:\Users\damian\Desktop\ball_pit\src\physics\physics-ball.cpp]
2>physics-engine.cpp
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c1xx.dll)=0.33219s < 508784474239 - 508787796160 > BB [C:\Users\damian\Desktop\ball_pit\src\physics\physics-engine.cpp]
2>time(C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX64\x64\c2.dll)=0.00532s < 508787799385 - 508787852605 > BB [C:\Users\damian\Desktop\ball_pit\src\physics\physics-engine.cpp]
2>Generating code
2>Not all modules are compiled with -Gy (function comdat), build without incremental LTCG.
2>  link!DllGetObjHandler()+0x150f0a
2>  link!DllGetObjHandler()+0x150f0a
2>  link!DllGetObjHandler()+0x7b3a0
2>  link!DllGetObjHandler()+0x7bb22
2>  link!DllGetObjHandler()+0x86a96
2>  link!DllGetObjHandler()+0x8ba6e
2>  link!DllGetObjHandler()+0x1388f9
2>  link!DllGetObjHandler()+0x138662
2>  link!DllGetObjHandler()+0x138649
2>  link!DllGetObjHandler()+0x1385ea
2>  link!DllGetObjHandler()+0x22eff8
2>  link!DllGetObjHandler()+0x22efc1
2>  link!DllGetObjHandler()+0x22ef49
2>  link!DllGetObjHandler()+0x22ee31
2>
2>C:\Users\damian\Desktop\ball_pit\modules\physics\quad-tree.ixx(135): fatal error C1001: Internal compiler error.
2>(compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 225)
2> To work around this problem, try simplifying or changing the program near the locations listed above.
2>If possible please provide a repro here: https://developercommunity.visualstudio.com
2>Please choose the Technical Support command on the Visual C++
2> Help menu, or open the Technical Support help file for more information
2>LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
2>Done building project "ball_pit.vcxproj" -- FAILED.
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 12:21 AM and took 13.327 seconds ==========
damian-tomczak commented 1 year ago

Solution: VS update && CMake update