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 Once you have that directory chosen, in the 'Program Files' sub-tab (green arrow) area fill out the fields as shown. select the "Search directories" tab, and then select the "Compiler" subtab. 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.(It's the folder that contains the bin, include, and lib subfolders). 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). 1 Overview 1.1 Self-Hosting 2 Prerequisites 2.1 Bootstrap Code::Blocks 2.2 MinGW Compiler 2.3 wxWidgets 2.4 Utilities 2.4.1 ZIP 2.4.2 SVN 2.5 Code::Blocks Sources 2.5.1 TortoiseSVN 2.5.2 Command-Line SVN 3 Build wxWidgets Support Library 3.1 Configure Build Options 3.2 Build wxWidgets Library 4 Build Code::Blocks 4.1 Self-Hosting 4.In the global compiler settings dialog that you're showing above: Then on the left, choose Global Compiler Settings (it has a gear icon) and on the right, select the Toolchain. If the codeblocks installer failed to setup mingw for you, here's how you can manually add it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |