OpenGL Issues

I’m currently trying to explore Juce’s OpenGL modules but can’t seem to understand why the GL headers aren’t being recognized. I made sure to have open gl selected as an included module and even included it in the build settings in Xcode. I’ve even tried creating a project as an audio plug-in and a separate one as an OpenGL application and still get errors like “use of undeclared identifiers”. Here’s a snippet of the errors:

Here’s also how my headers look in the main component header file:
Screenshot 2024-06-28 at 2.44.31 AM

JUCE provides it’s own subset of OpenGL functions and definitions in the gl namespace.

Try prefixing your OpenGL code with gl:: or using namespace gl at function level.