New C ++ project in eclipse eclipse cdt Program "make" not found in PATH

 

1: Because Eclipse is written in Java, so need to be installed before installing the Eclipse JDK, there are many online tutorials this is not talked about, Eclipse only supports native Java, so do C / C ++ developers generally have to install a CDT (c development tool) plug-ins.

 

Select installation Eclipse IDE for C / C ++ Developers on it. This can not install the CDT.

 

But eclipse just an editing tool, but also a tool to compile, the compiler tools we choose: mingw.

mingw Download:

https://nuwen.net/mingw.html#install

After creating the project get that done, when compiled and run, it is likely to meet two errors:

errors1:

eclipse cdt Program "make" not found in PATH

Which may be installed above mingw not make, need to be installed separately:

From the cmd command input download

Inside the cmd enter the command:mingw-get install gcc g++ mingw32-make
Here Insert Picture Description

Further, for convenience, it can be mingw32-makerenamed make, with make future command line.

 

Sometimes there is a problem of binary not found!

The need to compile and run. I have no problem with native C ++ project. But C project there will be problems. After each report will be compiled locally virus, some files deleted, and the virus may check the company about installation.

 

Here you can create a C ++ project to learn.

Guess you like

Origin www.cnblogs.com/beilou310/p/12171477.html