msys2

安装mingw w64 $ pacman -S mingw-w64-x86_64-cc pkg-config

在安装gdb $ pacman -S mingw-w64-x86_64-gdb

https://github.com/Insdf/Cpp_OpenGL_Setup