

Now whenever you start a new project, when you get to the wizard screen that says something like "Please select the compiler to use.", select "GNU GCC Compiler" (again it should be the first option).

select the "Resource compiler" subtab, hit the add button and enter MINGWROOT\include.select the "Linker" subtab, hit the add button and enter MINGWROOT\lib.Hit the add button and enter MINGWROOT\include You may use only one of the three languages: there is no requirement to have all three installed. select the "Search directories" tab, and then select the "Compiler" subtab.(The name as of this writing was the 10.05 may be different). (It's the folder that contains the bin, include, and lib subfolders). Go to the Windows 2000 / XP / Vista / 7 section Look for the file that includes mingw in the name. hit the "." button and manually choose the root folder of the mingw version you want to use.That may or may not work if you have multiple versions of mingw/tdm-gcc on your computer. Select "GNU GCC Compiler" (it should be the very first option).Once you have that directory chosen, in the 'Program Files' sub-tab (green arrow) area fill out the fields as shown. In the global compiler settings dialog that you're showing above: Go to your Compiler settings: And then under the 'Toolchain executables' tab (red arrow), click on the ellipsis ('.', blue arrow) and choose the root directory where you installed TDM-GCC 32-bit. If the codeblocks installer failed to setup mingw for you, here's how you can manually add it.
