glfw3 installation process

glfw3 installation process

Download glfw3

download link
Download instructions

Installation (applicable to Ubuntu, mingw)

Open MinMGW console in administrator mode

$ unzip glfw-3.3.3.zip
$ cd glfw-3.3.3/
$ cmake  -f CMakeLists.txt -G "Unix Makefiles"
$ make && make install

Because the blogger uses MinGW, you need to copy the installed glfw3 to the MinGW installation directory (of course, you can also set the installation path or add the MinGW search path during cmake installation )

Enter the glfw3 installation path.
Default installation path: C:\Program Files (x86)\GLFW
Insert picture description here
Copy the above two folders and copy them to the MinGW folder.
MinGW default installation path: C:\msys64\mingw64
Insert picture description here
installation is complete!


Those who like it, remember to use one button for three consecutive games ! !

Guess you like

Origin blog.csdn.net/qq_31985307/article/details/114156496