Ubuntu16.04lts Installing integrated development tools Ide:codeblocks and ECLIPSE-CDT

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.