Ubuntu down-C + + development environment configuration

Source: Internet
Author: User

Just turned the UBUNTU14.04.01 TLS.

Try GCC, the result is not compiled as follows

gcc -o hello hello. CPP GCC ' Cc1plus ': EXECVP: There is no file or directory

Baidu

The first is the configuration of GCC, the installation of the Ubuntu already have gcc (GCC is a Linux compiler developed by the GNU Father Stallman, all known as the GNU Compiler Collection, the currently compiled languages include: C, C + +, Objective-c, Fortran, Java, and Ada.). However, GCC has not been able to compile the file. Because some header files are missing. Then we will configure these header files. Here we need to install build-essential This package, install this package will automatically install the G++,libc6-dev,linux-libc-dev, Libstdc++6-4.1-dev and so on some necessary software and header files of the library.
To install build-essential, you can then install or enter in the terminal with the new search:
sudo apt-get install build-essential

Execute the above statement, recompile OK, run OK

Reference documents

http://blog.csdn.net/liu_chunhai/article/details/38542323

Ubuntu down-C + + development environment configuration

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.