-
Download GLFW Windows pre-compiled binaries with your corresponding system architecture.
-
Download the following header files and put into a folder.
-
Windows Microsoft Visual C++ (MSVC):
- GLFW:
- Menu bar:
Project
-><project name> Properties
. - In opened window
C++
->General
. - Add path for include folders in
Additional include directories
. - Then
Linker
->General
. - Add path for lib folder in
Additional Library Directories
.
- Menu bar:
- GLFW:
-
MinGW
-
Edit Makefile by specifying correct paths for the libraries
-
Compile with:
mingw32-make
- Run with:
./<file>
-