Hard to say at this point, since the school board's IT team hasn't properly configured Code::Blocks either. I am trying to get this working on my laptop.
I installed Code::Blocks on two computers. Most of my postings concerned the PC, where DevC++ is not installed but Cygwin and VS2010 are. The only C++ compiler CB detected was from VS2010. I had too much course planning to do, so I abandoned that installation rather than reckon with what appears to be an unwieldy situation, after way too many error messages, hours and days spent, and postings about it.
For the record, the version of G++ that it appears to be using (version number doesn't appear in CB) according to DevC++: TDM-GCC 4.9.2 (64 bit). I don't know what "TDM" stands for, but it is GPL 3. For completeness, the version of GCC on Cygwin is 7.4.0, with no funny acronyms.
The laptop still has CB, VC++2019 and DevC++ on it, and I checked, and GNU C++ is the default compiler (probably inherited from DevC++). The latter two work perfectly. As you may know, DevC++ comes with its own GNU C/C++ compiler. I am imagining that I will end up using DevC++, even though it does not appear to have a way to make windowed apps in a RAD environment. I can still teach using the console, and use Java or Python for windowed apps if needed.
Paul