You might want to consider using a nightly build.
https://forums.codeblocks.org/index.php/topic,25547.msg173876.html#msg173876
It contains all the binaries you'll need.
You'll need wxWidgets source if you plan to use wxWidgets to build you're app. To build the source of wxWidgets, use the version noted in the nightly download announcement.
To build the source I use a batch file:
:DoClean
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11" clean
[code]
:DoCompilesOnly
mingw32-make -f makefile.gcc SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 VENDOR=cb CXXFLAGS+="-std=c++11"
You will also need the Mingw compiler. Look for the version that matches the downloaded binaries.
wxWidgets source is not needed if do not plan to use it in your app .
Sorry, I have been unavailable for over a month. Life was keeping me from my hobby.
With that said, I unzipped wxWidgets 3.2.2.1 into "C:\Program Files\CodeBlocks\wxWidgets-3.2.2.1", setup the search paths in the compiler options "$(#wx.LIB)\gcc_lib\mswu" and "mswud", setup the global "wx" variable pointing to the correct places, and went in and built both debug and release builds of wxWidgets using a command-prompt as follows.
cd "Program Files\CodeBlocks\wcWidgets-3.2.2.1\build\msw
mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=0 UNICODE=1 BUILD=debug
mingw32-make -f makefile.gcc SHARED=0 MONOLITHIC=0 UNICODE=1 BUILD=release
I then changed to the "samples/minimal" directory and built that project. It builds and runs flawlessly. However, I can never finish the wizard due to it erroring out at the end, telling me it can't find matching debug or release builds. I do intend on using wxWidgets in my project so I can build it under Linux as well.
I saw the suggestion to use a nightly CB build. It's been almost four years since the last release. Is there ever going to be another stable release or at least a patch release to bring 20.03 up to current-day library support for things like wxWidgets? I despise what MSVS has become (I am NOT creating a damn account just to use an IDE!) and CB has been my go-to since around 2010. I just wish it was up-top-date.