在http://glew.sourceforge.net/install.html 有找下载和安装
使用时
#include <GL/glew.h>
#include <GL/glut.h>
注意不要在glew.h前面包含gl.h和glu.h,否则会出错
再连接上库文件 glew32.lib, glu32.lib, and opengl32.lib
在http://glew.sourceforge.net/install.html 有找下载和安装
使用时
#include <GL/glew.h>
#include <GL/glut.h>
注意不要在glew.h前面包含gl.h和glu.h,否则会出错
再连接上库文件 glew32.lib, glu32.lib, and opengl32.lib