直接搜索mingw→pre-built toolchains→w64devkit→github→w64devkit-x64-2.1.0.exe→下载→管理员身份运行→将bin路径加入环境变量→cmd输入:“gcc -v ”确认配置完成