将/lib/glew32.lib拷贝到VC安装目录下的lib目录下(如:/MicrosoftVisualStudio9.0/VC/lib/下),将/include/glew.h和/include/wglew.h拷贝到VC安装目录下的/include/gl/目录下(如:/MicrosoftVisualStudio9.0/VC/include/gl/下)。在程序中我们只需要在包含gl,glu或glut.h之前包含glew.h就可以了(注意:一定要先包含glew.h),在在代码中加上这么一句:#pragmacomment(lib,"glew32.lib")示例:#include