User forums > General (but related to Code::Blocks)
Error building wxwidgets projects with GCC 13.2.0 in CB 13421
Grit Clef:
Thank you. The compiler set is just from winlibs.com, I think it may not mix the different versions of gcc, but pack gcc and some Windows headers and libraries from MinGW-w64, then make them work together.
Oh, I remember that the gcc I used before was built with msvcrt, later I'll build wxWidgets myself.
Grit Clef:
This problem still happened from time to time even though I build wxWidgets myself. And I find if I disable the -pipe compiler switch, things will be all right. I think maybe the compiler caused the problem.
nenin:
--- Quote from: Grit Clef on December 30, 2023, 03:54:02 pm ---Hmm...I'm using the wxWidgets for gcc 13.2.0 built by Xaviou, and these errors occurred. And my gcc is from winlibs.com.
--- End quote ---
From the my experience, all C++ libraries should be-rebuild after the changing of the compiler version. Otherwise strange things may happen. UCRT must not be mixed with MSVCRT (and better to forget MSVCRT, if target is not older than WinXP ).
For alien binaries it is necessary to check: compiler version (for C++), MinGW_64w version, UCRT/MSVCRT, threads model and unwind model (different ones simply dont link together).
Grit Clef:
Yes, I've rebuilt the wxWidgets using my compiler, but if I compile source files with -pipe, then it'll fail.
Navigation
[0] Message Index
[*] Previous page
Go to full version