What is it with people who want to constantly reinvent the wheel? The only reason I wrote an OpenGL loader was because GLEW was (and still kinda is) flakey with regard to core OpenGL function loading. I also took the opportunity to separate out core and compatibility so that you could get a core-only header if you choose to.While struggling with running my own OpenGL API loader
Trust me: writing your own loader will not give you wisdom. Completing this task will not move you towards enlightenment. It is not a worthwhile exercise that every OpenGL programmer should undertake. Use libraries to make your life easier; that's what they're there for. You should only write your own if there is some feature that you absolutely need which current GL loaders do not provide.





