1 2 3 4 5 6 7 8
#include <GL/glew.h> int main() { GLenum init_return = glewInit(); return (init_return == GLEW_OK); }