ECLIPSE+CDT editing the C + + program error:
A compilation error has occurred:
Rebuild of configuration Debug for project Example * * * * *
Internal Builder is used for build * * * * *
Gcc-o0-g3-wall-c-fmessage-length=0-osrc\demo.o. \src\demo.c
Internal builder:cannot Run Program "GCC":????????? ¨?
Build error occurred, build is stopped
Time consumed:0 Ms.
Look at the surface error description, like the lack of compiler gcc.exe
Analyze the reasons for the failure and the solution:
1. First add the bin path of the MinGW to the environment variable of windows, then under CMD, enter gcc-v, display GGC version, can find GCC.
2. Cannot install the MinGW to the D-Drive program files, because the path contains spaces, and GCC is developed under Linux, the space is the default delimiter, so this path is illegal, so the GCC is not found.
3.CDT download with update installation There is a big difference, download plugins there is a jar:org.eclipse.cdt.core.win32_5.0.0.200902130801.jar below, but copy to eclipse To unzip into a folder of the type, and delete the original Org.eclipse.cdt.core.win32_5.0.0.200902130801.jar
CDT Error cannot run program "GCC"