环境:windows 10
现象:安装完eclipse之后打开工程出现如下图所示错误;
错误代码:
Description Resource Path Location Type
Program “g++” not found in PATH test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
Description Resource Path Location Type
Program “gcc” not found in PATH test Project Properties, C++ Preprocessor Include…/Providers, [CDT Cross GCC Built-in Compiler Settings] options C/C++ Scanner Discovery Problem
解决方法:
1、下载MinGW[官方网址](http://www.mingw.org/)
2、安装MinGW
双击上图的exe文件,一直下一步,知道最后面的continue里面选择gcc/g++库,下图是我选择的