WINDOW7 installation of Eclipse/C + + Developer

Source: Internet
Author: User

I think it's a bit of a brain-stump to write this. Ha ha.

After graduation, read more about Java. Mostly forget about C and C + + stuff. Although the first computer language of the university is learning C. Ashamed.

Relive the knowledge of C.

Business:

1. Installation of Eclipse C + + developer under Windows, with reference to several articles.

Http://jingyan.baidu.com/article/4e5b3e195ddf8b91901e2439.html

http://blog.csdn.net/komtao520/article/details/51459498

2. First download the version of Developer/C + + in Eclipse.

Http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/oxygenr

This default download is the latest version 2017. Download on demand, or neon, Mars. I downloaded it by default.

3, according to the article hint seems to need JDK, but because before installed the JDK, is JDK1.8. There is no reinstallation.

4. After installation, try to add a C project to eclipse C + + (hereafter referred to as Eclipse). Tip g++, GCC could not find it.

5, then download MinGW for Windows version. After you click Download/installer, you can download it by default.

http://www.mingw.org/

6, run the new download Mingw-get-setup.exe

Then, just follow the article in the reference above to write the line.

I have installed all of them. More stupid.

7, according to the default installation path is good, if you can also install C-drive.

8. Match the installed path to the system variable path or the user variable path.

9, after that, you have to install the CDT plugin. The beginning did not understand, and later checked the document understand.

Now that you want to download it, download it.
There are two ways to download it, one from the Download Center (install New software) that comes with Eclipse.
One is to go to the Eclipse website and download it yourself. Then install it yourself through the Eclipse install New Software Center.

I downloaded it through my website. Installed on their own.

Download link is: http://www.eclipse.org/cdt/downloads.php

Use the appropriate CDT based on the version you downloaded. If you are the same as me, the default download is recent, and the CDT does not correspond. Only the nearest CDT is allowed. Ha ha.

10, check now. JDK,MINGW,ECLIPSE,CDT whether the installation is configured properly.

11. Create a C project in eclipse to see if it takes effect. Normal should be in effect.

However, I still can not find the gcc,g++ path. It's strange.
Remember I posted two links, the role of the second link is coming.
Open the property of the project I created

Change this cross gcc to MinGW gcc.

The compilation Problem of the project is resolved.

WINDOW7 installation of Eclipse/C + + Developer

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.