[目錄]
include: <VCDIR>/PlatformSDK/Include/GL
lib: <VCDIR>/PlatformSDK/Lib
dll: <WINDIR>/system32
[VS 2006 自帶的OpenGL文件]
include: GL/gl.h GL/glu.h GL/glaux.h
lib: opengl32.h glu32.h glaux.lib(* Deprecated)
dll: opengl32.dll glu32.dll
[SGI OpenGL 文件(* OPT)]
lib: opengl.lib? glu.lib
dll: opengl.dll? glu.dll
[GLUT utility toolkit 文件(* download)]
include: GL/glut.h
lib: glut.lib glut32.lib
dll: glut.dll glut32.dll
# GLUT 允許我們開發(fā)可移植的OpenGL窗口程序,它包裝了底層的窗口系統(tǒng)接口
??? 可以從www.opengl.org/resources/libraries/glut下載
獲取對應(yīng)文件并放置到相應(yīng)目錄下,
現(xiàn)在新建一個空的windows console application,加入:
就可以開發(fā)自己的OpenGL程序了
如果在老版本的VS 6.0 中開發(fā),需要將連接庫添加在項目設(shè)置屬性中。
include: <VCDIR>/PlatformSDK/Include/GL
lib: <VCDIR>/PlatformSDK/Lib
dll: <WINDIR>/system32
[VS 2006 自帶的OpenGL文件]
include: GL/gl.h GL/glu.h GL/glaux.h
lib: opengl32.h glu32.h glaux.lib(* Deprecated)
dll: opengl32.dll glu32.dll
[SGI OpenGL 文件(* OPT)]
lib: opengl.lib? glu.lib
dll: opengl.dll? glu.dll
[GLUT utility toolkit 文件(* download)]
include: GL/glut.h
lib: glut.lib glut32.lib
dll: glut.dll glut32.dll
# GLUT 允許我們開發(fā)可移植的OpenGL窗口程序,它包裝了底層的窗口系統(tǒng)接口
??? 可以從www.opengl.org/resources/libraries/glut下載
獲取對應(yīng)文件并放置到相應(yīng)目錄下,
現(xiàn)在新建一個空的windows console application,加入:
#include?<GL/glut.h>
就可以開發(fā)自己的OpenGL程序了
如果在老版本的VS 6.0 中開發(fā),需要將連接庫添加在項目設(shè)置屬性中。