i am having a seriously annoying problem, i am pretty new to open gl so no one laugh. My compliler, when compiling my own code, comes up with an unidentified veriable but not within my code, it is within GL.h. The variable is WINGDIAPI, and i can’t for the life of me figure it out. Please help

Since you mentioned “WINAPI” I asume you are talking about a Windows PC so you have to include “windows.h” before you include “gl.h”

You should ask this kind of questions in the developer/beginner board.