There are two ways to install the GLFW library in Windows, both of which will be discussed in this section. The first approach involves compiling the GLFW source code directly with CMake for full control. However, to simplify the process, we suggest that you download the precompiled binary distribution.
We assume that you have successfully installed both Visual Studio 2013 and CMake, as described in the earlier section. For completeness, we will demonstrate how to install GLFW using CMake.
To use the precompiled binary package for GLFW, follow these steps:
C:/Program Files (x86)/glfw-3.0.4directory. Grant the necessary permissions when prompted.