OpenGL环境搭建

来源:互联网 发布:html合并单元格编程题 编辑:程序博客网 时间:2024/06/04 18:04
1、you should have:
glut.dll
glut32.dll
glut.h
glut.lib

glut32.lib

2、Copy both glut.dll and glut32.dll into your windows directory (windows or winnt, depends on if you are using Windows95/98 or Windows NT)  
    C:\WINDOWS\system32

3、Copy your glut.h to:
     <drive>:\<VC++ path>\include\gl\glut.h

4、 Copy your glut.lib and glut32.lib to:
    <drive>:\<VC++ path>\lib\glut.lib
    <drive>:\<VC++ path>\lib\glut32.lib

0 0