System environment: win7 x64
1. Download the JDK installation package to install and set system environment variables. Such as:
D: \ \ Program Files \ Java \ jdk1.8.0 _131 \ bin. D:\MinGW\bin;
Enter Java Javac validation on the CMD command line.
2. Download the Eclipse IDE for C/C++ Developers (CDT) installation package and open Eclipse directly after installation.
3. Download MinGW and select the C /C++ option to download. Then configure and select MinGW
Windows > > Preferences > > c/c++ > > New c/c++ Projects > > Exectable> > MinGW GCC> is selected for Empty Project; > Click apply & gt; > Ok // set MinGW as the default option
The eclipse CDT Program “make” not found in PATH problem can be solved in the following two points:
Right project & GT; > Preferences > > C\C++ Build > > Tool Chain Editor > > Change Current toolchain to MinGW GCC
Right project & GT; > Preferences > > C\C++ Build > > Tool Chain Editor > > Change Current builder to GNU Make builder
Shih:
You can change the builder (builder) from CDT Internal Builder to External make, change the builder type from Internal Builer to External Builder in builder Settings of C/C++ Build in project properties, and finally fill in the program name of make in Build command. For example, MinGW’s Mingw32-make. This can also be achieved by changing the Current Builder to Gnu Make Builder in C/C++ Build→Tool Chain Editor. The two are different interface displays of the same setting.
Build a hello c program first (CTRL +B), in run (CTRL +F11)
Read More:
- “Launch” appears when eclipse C + + CDT runs the program failed.binary not found”
- Cannot run program “make” when compiling APM firmware with eclipse under Windows: launching failed problem
- How to make eclipse after the program is modified, click run to automatically save it.
- After eclipse eclipse eclipse imports the correct project, an error is reported in XML and other files
- How to Fix Pandoc wasn’t found.pdflatex not found on PATH
- Mac OS error in make pycaffe times failure error:’python.h’file not found resolved
- When NPM install, make: G + +: command not found will be prompted
- Error: Make: pdflakex: command not found
- Executable file not found in $path bug solution
- zookeeper Failed to Startup: Error: JAVA_HOME is not set and java could not be found in PATH
- To solve the running error of eclipse for C / C + +: launch failed binary not found
- Access restriction in Eclipse: the type ‘xxx’ is not API solution
- HTTP error 404.8 – not found, the request filtering module is configured to reject the path in the URL containing the hiddensegment section
- Error “nbconvert failed: xelatex not found on path…” Solutions
- Python program uses OS. System () method to call exe program, resulting in no response of main program process
- Eclipse PyDev “interpreter does not exist in filesystem”
- Make sure the graphviz executables are on your systems’ path
- Configuration: error: no acceptable C compiler found in $path
- Idea always reports errors when using “SVN” to associate projects Error:Cannot run Program “SVN” (in directory “path XXXXXX”): CreateProcess error = 2,
- Project with path ‘XXXX’ could not be found