cplusplus:installing_codeblocks
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
cplusplus:installing_codeblocks [2015/12/31 20:18] – created mithat | cplusplus:installing_codeblocks [2016/01/10 01:42] (current) – mithat | ||
---|---|---|---|
Line 23: | Line 23: | ||
=== MacOS === | === MacOS === | ||
- | There is a version of [[http:// | + | There is a version of [[http:// |
===== Installing on Windows ===== | ===== Installing on Windows ===== | ||
- | Download | + | Download **'' |
- | After downloading, | + | <WRAP center round tip 99%> |
+ | Be sure you download '' | ||
+ | </ | ||
+ | |||
+ | The download links are on the right. The last time I tried, the BerliOS link wasn't working, but the Sourceforge.net link worked fine. | ||
+ | |||
+ | After downloading, | ||
+ | |||
+ | <WRAP center round info 99%> | ||
+ | In the unlikely event that you have a previous Code:: | ||
+ | </ | ||
===== After installing ===== | ===== After installing ===== | ||
- | **Set the compiler | + | ==== Set the default |
+ | You may have more than one compiler installed on your computer. To keep you from having to manually set the proper compiler each time you start a new project, verify that the desired compiler | ||
- | There are several official (as well as unofficial) versions of C++ in common use. We will be learning C++11, which is a relatively new standard. Code::Blocks needs to be told that you want to use this version of C++ rather than an older one. | + | - Go to //Settings > Compiler...// |
+ | - Make sure the //Compiler settings// tab is active. | ||
+ | - Select "GNU GCC Compiler" | ||
+ | - If the //Set as default// button is active (i.e., not greyed out), click on it to make GNU GCC Compiler the default. | ||
+ | - On Windows, click on the " | ||
- | To do this, go to //Settings > Compiler...// | + | ==== Set the compiler |
- | {{: | + | <WRAP center round important 99%> |
+ | Do not skip this step! If you do, you will encounter various hard-to-diagnose problems later in the course. | ||
+ | </ | ||
- | Then make sure the //Compiler settings// tab is active, find "Have g++ follow the C++11 ISO C++ language standard [-std=c++11]", | ||
- | {{:cplusplus:global-compiler-settings.png? | + | There are several official (as well as unofficial) versions of C++ in common use. We will be learning C++11, which is a relatively new standard. Code::Blocks needs to be told that you want to use this version of C++ rather than an older one. |
- | On Linux systems, you might not see any options under //Settings > Compiler > Global compiler settings > Compiler settings//. If this is the case, open the //Other options// tab and add " | + | To do this: |
- | {{: | + | - Go to //Settings > Compiler...// |
+ | - Make sure the //Compiler settings// tab is active. | ||
+ | - Find **Have g++ follow the C++11 ISO C++ language standard [-std=c++11]**, | ||
===== Testing your installation ===== | ===== Testing your installation ===== |
cplusplus/installing_codeblocks.1451593110.txt.gz · Last modified: 2015/12/31 20:18 by mithat