Visual Studios errors with gl.h when compiling

Hi, I am having an issue with my Microsoft Visual Studios Community 2019 and I was wondering if anybody knew how to help me out. Whenever I compile it appears I get 1001 errors to do with my gl.h file, I am unsure what the issue is. I’ve linked the correct files I believe but my errors do not seem to be going away I’ve tried researching and the fix seems to be writing:

#include <windows.h> before my #include <GL/glut.h> and <GL/gl.h>

however, this didn’t seem to fix my errors. If anybody could be of help I would very much appreciate it.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.