above, we have introduced the installation of QT5.10.0 under Ubuntu https://www.cnblogs.com/si-lei/p/9240230.html ,
Next we introduce the Codeblocks and ECLIPSE-CDT development environment:
1. Install Codeblocks and Eclipse at the same time in Ubuntu software:
Open Ubuntu Software:
Find the Developer tool (below):
By choosing the IDE, you can see Codeblocks and Eclipse clearly!
Click Install directly:
Enter Password:
Install eclipse at the same time:
Wait for the installation:
Now that Codeblocks and Eclipse have been basically installed, let's test the Codeblocks first:
First select the GCC compiler:
To create a new project:
Choose a console program:
Select "Next" directly:
Language selection C + +:
Enter the name of the project and the path of the store:
The compiler chooses the default gcc and then finish:
Run the program and pop up the console:
At this point, codeblocks installation is complete!
2. Although eclipse is already installed, it is not possible at this point to edit the C + + program and install ECLIPSE-CDT:
Before installing the CDT, we hit open eclipse as follows, select the default workspace and enter:
You can see that there is no project at this time:
Therefore, the ECLIPSE-CDT must be installed first:
[Email protected]:~$ sudo apt-get install eclipse-cdt[sudo] Wilson's password: Reading package list ... Completing the dependency tree that is analyzing the package is reading state information ... Completion will install the following software: Eclipse-cdt-JNI recommended installation: Eclipse-cdt-autotools eclipse-cdt-launch- remote The following "new" packages will be installed:
Next, after you reopen eclipse, you can create the project:
Create a C project:
Compiler chooses Linux GCC:
Click Yes:
Then add a C source file to the project and edit the code:
Operation Result:
At this point, the Codeblocks and Eclipse integrated development environment is fully set up, then you can put on a big wave of code, projects ~ ~
Article is not easy to write, reproduced please mark ... Welcome attention!
Ubuntu16.04lts Installing integrated development tools Ide:codeblocks and ECLIPSE-CDT