I downloaded the eclipse C + + IDE for neon.3, the download page is: http://www.eclipse.org/cdt/downloads.php.
1. After running eclipse, open install New software in Help, you can find ".../cdt/release/9.2/r" in the list, then select the project to install, in fact, the contents of the list is not very familiar with the details, so it is all selected.
2. After downloading MinGW installer and running, you can select all items to install, or you can remove the "Mingw32-gcc-ada" and "Mingw32-gcc-fortran" two items.
Add the Bin directory path to the MinGW in the path entry in the system environment configuration after completion.
3. Eclipse opens the Windows->preferences->c/c++->new/C + + Project Wizard, selecting several project toolchains to MINGGW gcc, point " Make Toolchain preferred ".
Under Select Makefile Project, select PE Windows Parse.
---other----------------------------------------------------
1. If there is a third-party development library that needs to be called, you can copy h files or. A files to the code directory, or configure them in the project properties.
(1) Include file configuration: project->properties->c/c++ BUILD->SETTINGS->GCC C + + compiler and GCC C compiler includes, Add an additional include directory.
(2) Lib configuration: project->properties->c/c++ BUILD->SETTINGS->MINGGW C + + linker in the libraries, the lower "-l" to add an additional Lib directory, Above "-L" adds the Lib library name used.
2. If you are a more general-purpose development Library, you do not want to configure the include and LIB directories after each project is established and can be configured in Eclipse's environment configuration.
Open Window->preferences->c/c++->build->environment and add the following variables:
(1) Cplus_include_path: value for the corresponding INCLUDE directory path
(1) C_include_path: value for the corresponding INCLUDE directory path
(1) Library_path: The value is the corresponding. a directory path
---Some errors----------------------------------------------------
1. Prompt for undefined variables [email protected], you need to add MINGW32 libraries in the linker libraries of the project properties, and the order is placed first.
Eclipse CDT MinGW Configuration Record