Original Post
Hello! After almost a year with directx i'm starting to switch back to opengl. I'm currently creating a library to wrap up some opengl functionalities. The problem I'm having is that I cannot #include "gl/gl.h" in different .cpp files because I get an unlimited amount of "redefenition errors". I'd like to know how to proceed to be able tu have gl.h included in many cpp files. This question is not really API-specific but I never had the same problem when including other headers in multiple cpp files. Thanks!