Http://blog.sina.com.cn/s/blog_858820890100vbys.html
Download Link:
Https://sourceforge.net/project/downloading.php?group_id=67586&filename=glew-1.5.1-win32.zip
Click on the link above to download the latestGlew (SupportOpenGL 3.0), unzip, will/bin/glew32.dll Copy ToBelow the C:/windows/system32, the/lib/glew32.lib Copy ToVC installation directory under lib directory (e.g. /microsoft Visual Studio 9.0/vc/lib/), / include/glew.h and /include/wglew.h Copy to vc installation directory /include/gl/ directory (such as: /microsoft Visual Studio 9.0/vc/include/gl/). In the program we only need to include gl,glu or glut.h before including glew.h will be glew.h), in the code to add such a sentence :
#pragma comment (lib, "Glew32.lib")
Example:
#include <GL/glew.h>
#include <GL/glut.h>
#progrma comment (lib, "Glew32.lib")
After creating the OpenGL rendering context, call glewinit (); initialize the Glew.
The source of this article: http://blog.csdn.net/todayq/article/details/5925233
(turn) Installation of Glew