C++ 在哪里下载所有需要的 OpenGL 库,包括和编译的 dll 来制作最新的游戏?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3131995/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to download all needed OpenGL libraries, includes and compiled dll's to make up-to-date games?
提问by Newbie
Is there any packages for this purpose, one download link?
是否有任何用于此目的的软件包,一个下载链接?
Edit:got VBO working now, so this question is useless for me atm, i can accept answers though if there ever comes one.
编辑:现在让 VBO 工作,所以这个问题对我来说没用,我可以接受答案,如果有的话。
回答by Ashaman
I would recommend reading the getting started entry on the opengl wiki, it goes through the steps of this.
我建议阅读 opengl wiki 上的入门条目,它会完成此步骤。
回答by MaR
I find quite surprising to hear about problems with VBOs in association with GLU. Are you sure it isn't problem in graphics drivers? GLU comes with windows by default, although you can get newer version with various graphics libraries or you can download source code and build it yourself. (But do you really need tesselator?)
听到 VBO 与 GLU 相关的问题,我感到非常惊讶。你确定不是显卡驱动的问题?默认情况下,GLU 随 Windows 一起提供,尽管您可以获得带有各种图形库的更新版本,或者您可以下载源代码并自己构建它。(但你真的需要 tesselator 吗?)
some useful links:
一些有用的链接:
source code of reference OGL implementation
回答by n0rd
Since Microsoft doesn't support OpenGL newer than some particular version (1.1 I believe), you'll need to either load newer API function addresses manually, or use some library, that will do that for you (provided that video card driver has these functions in their opengl32.dll implementation). One of such libraries is GLee. There is more useful information on opengl.org, but it is not easy to find, and I don't have links ready.
由于 Microsoft 不支持比某些特定版本(我相信是 1.1)更新的 OpenGL,您需要手动加载更新的 API 函数地址,或者使用一些库,这将为您完成(前提是显卡驱动程序具有这些函数在其 opengl32.dll 实现中)。此类库之一是GLee。opengl.org上有更多有用的信息,但是不容易找到,我也没有准备好链接。