Cross Platform OpenGL
The projects I work on use OpenGL 3.2 or higher. To be able to use the features exposed by this version of OpenGL you need to make sure that the correct functions are loaded. Here are some notes I took to remind myself what to do on what platform.
This basically the same as Windows. You need to download the latests header and use an extension loader to load the functions (and extensions) for you. GLXW is a good tool for this.
Windows only contains the GL 1.1 headers. Therefore you need to get the latest ones from the OpenGL website. The latest header can be downloaded from http://www.opengl.org/registry/api/GL/glcorearb.h.
Or you can use GLXW to create the headers for you and load the appropriate function once your OpenGL context has been created.
It seems that Mac does not need to use something like GLXW.