Changed from using the glfw framework to the glut framework, everything is compiling and working well