My personal opinion is to switch to msys environment... it makes everything so much easier...
At the moment, wxwidgets trunk does not compile out of the box with gcc-13.1.1.
Personally I am not so fond of msys2, seems to complicated, compared to the more simple compiler bundles we used to ship.
The great thing of MSYS2 is, that you can get a lot of libraries easily. However, this setup only works easily if you use its shell, using the compiler standalone is cumbersome. For that use case, it's easier to use a standalone compiler like a plain MinGW-w64. But getting libraries compiled with such a compiler can be very hard. So well, for the "CodeBlocks @school" use case that uses nothing more than std::cout standalone is probably better, but for the Real-World use case MSYS2 might be better.
`pkg-config --libs glm`
`pkg-config --libs glfw3`
`pkg-config --libs glew`
`$(#WX_CONFIG) --libs all`
I have successfully build with this "https://github.com/brechtsanders/winlibs_mingw/releases/download/13.1.0-16.0.2-11.0.0-ucrt-r1/winlibs-x86_64-mcf-seh-gcc-13.1.0-llvm-16.0.2-mingw-w64ucrt-11.0.0-r1.zip"
- wxwidgets 3.2.2.1
- CB trunk
First runs seem to be ok.
I think this is a compiler bundle worth using ...
Maybe as the base for the next nightly ... ?
anyone any epxerience with this one, looks very promising : https://winlibs.com/This is currently also my favourite compiler suite. However, the last version that was able to compile everything I have a need for was:
I haven't see someone using UCRT under Win7 before.It is me. :)
...but I will try version 13 - seems this might be a good one if it compiles wx32, indeed.I did that now an with:
I did that now an with:BTW: There are projects that do not compile but still do with TDM - who really was the best IMHO. What does not compile are static builds (including static c/c++ libs) based on openmp. Unfortunately symbols are missing in that case. However, still its a very good compiler. Maybe I can strip these down to a reproducible sample and send to the author as a bug-report...
gcc-13.1.0-llvm-16.0.4-mingw-w64ucrt-11.0.0-r4
...I have full success with all of my projects! This would be my current favourite.
I think the author of winlibs project is very active, see: brechtsanders (Brecht Sanders) (https://github.com/brechtsanders), maybe he can help.I did that now an with:BTW: There are projects that do not compile but still do with TDM - who really was the best IMHO. What does not compile are static builds (including static c/c++ libs) based on openmp. Unfortunately symbols are missing in that case. However, still its a very good compiler. Maybe I can strip these down to a reproducible sample and send to the author as a bug-report...
gcc-13.1.0-llvm-16.0.4-mingw-w64ucrt-11.0.0-r4
...I have full success with all of my projects! This would be my current favourite.