During first run of CB on Windows, this IDE detect automatically some compilers, or present one list of them pre-configured. It's very good functionnality, but, sometimes, you must "force" these ...
In addition to CodeBlocks, MinGW-w64 with threading support needs to be installed separately. This guide assumes using the 32 bit MinGW-w64 version for the builds. Do not use the default MinGW that is ...