Eclipse CDT Environment Construction

Source: Internet
Author: User

Eclipse CDT Environment ConstructionThe standard C ++ environment is not easy to handle. Many developers choose VS, but it is not suitable for coding other operating systems, besides, VS supports a non-200 Standard C ++. And bulky. The following describes how to use the Eclipse CDT to build a standard C and C ++ development environment.I. Prepare SoftwareThe Eclipse kernel is the latest version 3.5. Http://d2u376ub0heus3.cloudfront.net/technology/epp/downloads/release/galileo/R/eclipse-cpp-galileo-win32.zip http://nchc.dl.sourceforge.net/project/mingw/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe2. Install MinGW, the preferred standard C ++ environment in Windows.Install MiniGW. Some other toolkit will be downloaded during the installation process. The downloaded additional package is as follows and will be used later: mingw32-make-3.81-20080326-2.tar.gz
Mingwrt-3.15.2-mingw32-dev.tar.gz
W32api-3.13-mingw32-dev.tar.gz
Gcc-objc-3.4.5-20060117-3.tar.gz
Gcc-g77-3.4.5-20060117-3.tar.gz
Gcc-core-3.4.5-20060117-3.tar.gz
Gcc-g00000000-3.4.5-20060117-3.tar.gz
Binutils-2.19.1-mingw32-bin.tar.gz
Gcc-ada-3.4.5-20060117-3.tar.gz
Here, the gcc-java-3.4.5-20060117-3.tar.gz is assumed to be installed under C: \ MinGW, and Eclipse is extracted to drive D. Configure the C ++ environment variable: CPLUS_INCLUDE_PATH = C: \ MinGW \ include \ c ++ \ 3.4.5; C: \ MinGW \ include \ c ++ \ 3.4.5 \ mingw32 \ bits; c: \ MinGW \ include \ c ++ \ 3.4.5 \ backward; C: \ MinGW \ include
C_INCLUDE_PATH = C: \ MinGW \ include
LIBRARY_PATH = C: \ MinGW \ lib and add C: \ MinGW \ bin; C: \ MinGW \ libexec \ gcc \ mingw32 \ 3.4.5 to the Path variable.3. Configure eclipseOpen eclipse and go to Windows> Preferences> New CDT project wizard> Makefile Project650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1T3095195-0.png "border =" 0 "/> operate by graph, it's OK.4. Create a Cpp project helloAfter running such as 650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php? Refimg = "+ this. src) 'alt =" "src =" http://www.bkjia.com/uploads/allimg/131228/1T3092L5-1.png "border =" 0 "/>

This article is from the "melyan" blog, please be sure to keep this source http://lavasoft.blog.51cto.com/62575/196028

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.