Why am I getting these errors?
error: \'GL_VERTEX_SHADER\' was not declared in this scope error: \'glCreateShader\' was not declared in thi
You need to either use an OpenGL loading library to load OpenGL functions, or manually load the functions yourself. You can't just use gl.h and expect to get everything.
gl.h