Setting up CodeBlocks with Ming
There are two likely scenarios for this issue:
-
Your download/MinGW installation is corrupt and you need to reinstall.
-
You have a second MinGW installation on your system.
Since you just upgraded, each is a distinct possibility. I would carefully uninstall all Codeblocks/MinGW installations, then re-download and reinstall.
On a side note, I have personally found the best option is to pick the codeblocks-13.12-setup.exe for Windows (without MinGW), then separately install the latest version of TDM-GCC. I personally prefer TDM64 since you can build both 32-bit (with the proper compiler and linker flag) and 64-bit apps with it, but TDM32 works fine.
Note that you can get the latest version of CodeBlocks from the CodeBlocks download page.
FYI, a separate TDM-GCC install will let you pick your own folder which might help with any potential conflicts. If you do install TDM-GCC separately, you don't have to install it in C:\MinGW
. Just remember to pick an install folder without spaces, though.