So recently I'm trying to take up some graphics programming with openGL. After some help from Tari I managed to get the gflw libraries and header files included, and a simple window working. There was a problem however, which the gflw website neglects. The "glClear(GL_COLOR_BUFFER_BIT);" is supposedly a facet of the glad header files, and not included in the gflw libs. Well I went and included the glad header files into my program, and it seems to have worked. However, neither the "glClear(GL_COLOR_BUFFER_BIT);" function or the "gladLoadGL()" function are recognized by the compiler. This is a massive problem because- at least with my understanding of it- without the glad functions you can't use extensions and thousands of useful functions. For the life of me I have no clue why this is happening! But honestly that's not saying much XD.
Here's the link to the github repository. any help is appreciated!
I think the main problem is that the gladLoadGL() function is not working. Here is a screenshot of the error scrn.
EDIT: upon further inspection it seems that the glad loader library is not working correctly, which is confusing because I'm getting no errors concerning the library. The only errors occur when I try and invoke glad's functions.
Here's the link to the github repository. any help is appreciated!
I think the main problem is that the gladLoadGL() function is not working. Here is a screenshot of the error scrn.
EDIT: upon further inspection it seems that the glad loader library is not working correctly, which is confusing because I'm getting no errors concerning the library. The only errors occur when I try and invoke glad's functions.