error: ‘glActiveTextureARB’ was not declared in this scope
If this happens to you, you most likely have NVidia gfx card, and the set up has poked the gl.h. To remedy this without having to reinstall anything, just add this to your code, before calling #include : #define GL_GLEXT_PROTOTYPES 1 #include <GL/gl.h> For some reason th glActiveTextureARB prototype is under #ifdef GL_GLEXT_PROTOTYPES section. Adding [...]