Eclipse for C + + installation Experience

Source: Internet
Author: User

" Preface "

This semester, C + + teacher asked to install an eclipse for C + +, tossing a few hours to check all kinds of information finally finished, share the following personal installation experience.

" Install Eclipse"

Eclipse Installation Address: Http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/oxygen2

Select Windows 64-bit installation on the right side of the page

After decompression, it may be found that the Eclipse.exeis not opened, prompted to install the JDK or JRE, because Eclipse itself is written in the Java language, we need to install the Java environment

"JDK installation "

Install Java and configure the environment process:

Jdk:http://www.oracle.com/technetwork/java/javase/downloads/index.html

After opening the Web page, such as Operation installation (note the JDK installation location, placed in their own convenient place, storage directory behind useful)

After installing the JDK, configure the environment as follows:

Right click on this computer, properties, advanced system settings, environment variables, new in system variables, variable name:java_home; The variable value is the actual installation path (for example, my: E:\Java\jdk-9.0.4)

In the system variable we can find a path variable, edit it, create a new two variables, respectively,

Such a format (E:\Java\jre-9.0.4\bin;E:\Java\jdk-9.0.4\bin, the reader according to their own installation location modified)

Above we configured to complete the Java environment

" Compiler installation "

At this point we can open the eclipse.exe , but we will soon find that we cannot compile the program, because Eclipse does not have its own compiler, we need to be next.

: HTTP://SOURCEFORGE.NET/PROJECTS/MINGW/?SOURCE=DLP

A box will pop up when you install it:

Check all Basic Setup , then left upper installation->apply changes

When the installation is finished, the tick will turn green and it will be installed properly.

To configure the MINGW environment variable:

Edit in previous system variable: variable value of PATH variable add C:\MinGW\bin; (mingw default installation location, whichever is its own installation location)

At the same time pay attention to C:\MinGW\bin in the Mingw32-make.exe renamed to become Make.exe

So you can, in Eclipse, create a new C + + project Remember Toolchains choose MinGW GCC .

Eclipse for C + + installation Experience

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.