1. Download GLFW Source: glfw download
2. Extract the downloaded archive and extract the good folder to create Build subdirectory, cd into the build subdirectory
3, cmake -G "MinGW Makefiles" ../ ( if you want to compile dynamic library, then add the oN = -DBUILD_SHARED_LIBS)
. 4, with mingw32-make in the compiler to build directory
cmake + mingw32-make compilation GLFW library
Guess you like
Origin www.cnblogs.com/winsons/p/11865543.html
Recommended
Ranking