I just installed CodeBlocks with the MinG compiler. When I click on the icon on the desktop (Windows), it says that it can't find the compiler executable. I downloaded the software from SourceForge. Thanks.
Try to run "Settings -> Compiler -> Global compiler settings -> GNU GCC Compiler -> Toolchain executables -> Auto-detect".
If that does not work configure the compilers installation directory manually.
And don't forget to check whether the names of the executables are correct.