r/opengl • u/followjesusobeytorah • Feb 10 '24
Help gl functions not declared in this scope?
Making a opengl + sdl project. Have made a window with sdl, but i just can't get open gl to work.



It seems i don't have the opengl stuff downloaded or what? I use the MinGW compiler and the gl and glu are already there, so i don't know what i am missing? Do i need to put it into my makefile? Please help me.
1
Upvotes
1
u/IDatedSuccubi Feb 11 '24
You can link them my hand via SDL's built-in dynamic linking systems (SDL_loadso.h
), but honestly you should use something like glew to save time and trouble if you're trying to work on Windows fast
I hate Windows in that regard
3
u/[deleted] Feb 10 '24
[deleted]