1.下载地址:https://sourceforge.net/projects/mingw-w64/ 下载mingw.net
2.一路next 点击安装变量
3.将安装路径下的bin文件添加到环境变量下载