FWIW, on Gentoo I have /usr/include/GL/glcorearb.h, which comes from mesa-11.0.6. It’s possible that the existence of that file varies depending upon whether you’re using Mesa or a proprietary OpenGL driver (e.g. nVidia’s).
Also, my glfw3.h only includes that file if GLFW_INCLUDE_GLCOREARB is defined. It’s possible that GLFW needs to be re-built if you change the system’s OpenGL implementation.
Normally, the package manager should handle such dependencies, but the fact that your glfw3.h is in /usr/local/include suggests you built it yourself, so you’ll also need to handle such interactions yourself.
[QUOTE=GClements;1284250]FWIW, on Gentoo I have /usr/include/GL/glcorearb.h, which comes from mesa-11.0.6. It’s possible that the existence of that file varies depending upon whether you’re using Mesa or a proprietary OpenGL driver (e.g. nVidia’s).
Also, my glfw3.h only includes that file if GLFW_INCLUDE_GLCOREARB is defined. It’s possible that GLFW needs to be re-built if you change the system’s OpenGL implementation.
Normally, the package manager should handle such dependencies, but the fact that your glfw3.h is in /usr/local/include suggests you built it yourself, so you’ll also need to handle such interactions yourself.[/QUOTE]
Yes I compiled it myself, If I knew about an easier way I would have done that
Not gonna lie, I’m totally lost right now. I just ran “cmake .” and “make install” again and it didn’t work