Open ArtemS2 opened 5 months ago
I tried to extract more information from (Debug version): gdb --batch -ex run -ex="bt full" -ex="c" ./Quake4 &> start4.log start4.log
remove _DEBUG macro when build in debug
@glKarin Where can I remove it?
CMakeList.txt
在 2024-02-21 17:13:17,ArtemS2 @.***> 写道:
@glKarin Where can I remove it?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
I hope I understood everything correctly. set(CMAKE_C_FLAGS_DEBUG "-g -ggdb -O0 -fPIC") I removed "-D_DEBUG"
I tried to collect new sources. The lighting began to work much better. But the game still has crashes. start6.log
start2.log I tried to build a debug version, but the crash became stable at the start of the first level. (start2.log) if you collect the release version, then this is the gdb log: start1.log (start1.log)