Nope, I just did the mingw install from codeblocks, does that not include the compiler? If not, then that is the problem explained.
Hmm, checked the download page and it says it installs the compiler. That being the case I would expect the IDE to know where it put the compiler.