NEEDS some library or interface for creating OpenGL context (and windows for displaying it).
GLUT is deprecated but still popular; Good options are currently GLFW or SDL. I recommend GLFW.
(By the way, why did you even need to compile GLUT? Doesn't it have precompiled binaries for Windows?)
Or you can use system functions; in your case - WinAPI. However, this is a very tedious process; unlike portable solutions, which create a window in only one or two lines of code and provide easy input processing.
Once you close and run the GL window , you can learn texturing (or something else) from any tutorial . OpenGL calls will be the same, no matter how the window was created.
source share