Description: Windows环境下安装GLUT的步骤:
1、将下载的压缩包解开,将得到5个文件
2、在“我的电脑”中搜索“gl.h”,并找到其所在文件夹(如果是VisualStudio2005,则应该是其安装目录下面的“VC\PlatformSDK\include\gl文件夹”)。把解压得到的glut.h放到这个文件夹。
3、把解压得到的glut.lib和glut32.lib放到静态函数库所在文件夹(如果是VisualStudio2005,则应该是其安装目录下面的“VC\lib”文件夹)。
4、把解压得到的glut.dll和glut32.dll放到操作系统目录下面的system32文件夹内。(典型的位置为:C:\Windows\System32)-Windows environment to install GLUT steps: 1 Download compressed package will be answered, will be 5 files 2, in the " My Computer" search " gl.h" , and find it in the folder (if it is VisualStudio2005, the installation directory should be below the " VC \ PlatformSDK \ include \ gl folder" ). To extract glut.h get into this folder. 3, the extract obtained glut.lib and glut32.lib static library is located on the folder (if it is VisualStudio2005, while its installation directory should be the following " VC \ lib" folder). 4, the decompression and glut.dll received glut32.dll directory on the following operating systems system32 folder. (Typical for the location: C: \ Windows \ System32) Platform: |
Size: 149504 |
Author:zhonlon |
Hits: