What do i need in my code file to allow OpenGL in SDL to run OpenGL code.:tired::):dejection::sick:

you sound confused, haha

May I recommend you try Code::Blocks IDE with MinGW compiler included?
Also, you may find SFML more useful and friendly than SDL.

think of SDL, or SFML, as a container for your program to run in. It makes things you would want to do with OpenGL, easier to do.


There is a nice easy example program that lets you just head first into OpenGL.
If you’d like some help setting up your development environment, let me know.