1 2 3 4 5 6
#include <GLFW/glfw3.h> #if GLFW_VERSION_MAJOR != 3 #error "Unsupported major version of GLFW. Must be 3" #endif