Windows(GLFW + OpenGL2)

  1. Download Msys for pacman https://www.msys2.org/
  2. Open Msys shell and download Freeglut
$ pacman -S mingw-w64-x86_64-freeglut
  1. Get precompiled GLFW for Windows 64: https://www.glfw.org/download.html
  2. Copy include and lib-mingw-w64 folder to C:\GLFW

MacOS

$ brew install glfw