The problem is in the title, I\'ll try to list what I\'ve already tried and so on below.
First off, in my understanding, in order to use OpenGL 4.0 on windows you mu
Try adding -lopengl32 last on the line to compile your program and see if it helps.