preface
Today, when I was wandering in the code world, a QQ message suddenly brought me back to reality. My junior student reported a strange error when installing VC code’s C/C ++, “#include error detected, please update includepath”.
The solution
After a long time of agonizing, I found that GCC software was not installed on a newly installed Windows system, leading to the failure to find the C/C ++ plug-in of VScode. After installing GCC software, the error goes away. Selected here in the installation of MinGW, below is the installation process of MinGW
MinGW Installation Process (64-bit)
1. Software download address
Official website Baidu web disk – extraction code DST4
Download a file named mingw-get-setup.exe
2. Install
Click to run the software and see the following interface.
3. Set the MingGW environment variable
Right-click “this computer “=>” properties “, advanced system Settings, select” environment variables “under the” advanced “option, click” New “in the system variables, and fill in the MinGW installation path.
2020-02-15 record, in the hope of helping the next comrade encounter the same problem.