所以我用 minGW v12.11 最新的一个安装了 Code::Blocks。我可以在调试模式下轻松编译程序,但是当我尝试发布时,我得到了很多错误,我在下面发布了这些错误。我真的很感激回应。
obj\Release\koniec.o:koniec.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\koniec.o:koniec.cpp:(.eh_frame+0x43)||undefined reference to `__gxx_personality_v0'|
obj\Release\nowa_gra.o:nowa_gra.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\nowa_gra.o:nowa_gra.cpp:(.eh_frame+0x43)||undefined reference to `__gxx_personality_v0'|
obj\Release\pytania\pytanie_1.o:pytanie_1.cpp:(.text.startup+0xd5)||undefined reference to `_Unwind_Resume'|
obj\Release\pytania\pytanie_1.o:pytanie_1.cpp:(.eh_frame+0x9f)||undefined reference to `__gxx_personality_v0'|
obj\Release\pytania\pytanie_2.o:pytanie_2.cpp:(.text.startup+0xd5)||undefined reference to `_Unwind_Resume'|
obj\Release\pytania\pytanie_2.o:pytanie_2.cpp:(.eh_frame+0x9f)||undefined reference to `__gxx_personality_v0'|
obj\Release\pytania\pytanie_3.o:pytanie_3.cpp:(.text.startup+0xd5)||undefined reference to `_Unwind_Resume'|
obj\Release\pytania\pytanie_3.o:pytanie_3.cpp:(.eh_frame+0x9f)||undefined reference to `__gxx_personality_v0'|
obj\Release\tabela_wynikow.o:tabela_wynikow.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\tabela_wynikow.o:tabela_wynikow.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\tabela_wynikow.o:tabela_wynikow.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\tabela_wynikow.o:tabela_wynikow.cpp:(.eh_frame+0x43)||undefined reference to `__gxx_personality_v0'|
obj\Release\zapis.o:zapis.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\zapis.o:zapis.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\zapis.o:zapis.cpp|| undefined reference to `_Unwind_Resume'|
obj\Release\zapis.o:zapis.cpp:(.eh_frame+0x43)||undefined reference to `__gxx_personality_v0'|
||=== Build finished: 18 errors, 0 warnings (0 minutes, 0 seconds) ===|