I am trying to figure out how to create a window for my project. I want to work with OpenGL ES and I found online guides on how to use X11 and EGL for creating the window, and this option works just fine.
But I am trying to follow OpenGL guides and all I can find use GLAD and GLFW to create a window, and it seems much easier to work with and understand, but whenever I try to use it I get a bunch of errors like 'void glad_glClearColor(GLclampf, GLclampf, GLclampf, GLclampf)’ redeclared as different kind of entity
.
I got 58 errors just like that one when I tried using the code from here.
Is it not suited for Linux, or is there something else I am missing here?