Compiling Simple static OpenGL 4.0 program using MinGW, freeglut and glew
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 must extend and or bypass the default windows library as it only ships OpenGL 1.1. So we have MinGW installed at C:/MinGW/ . Next I setup FreeGLUT by downloading the tarball from the project site . Extract and compile by running the makefiles according to the instructions with a minor addition of --prefix to the ./configure command. ./configure --prefix=/c/Users/Owner/root/ make all make install Now I have freeglut in /c/Users/Owner