寻找 Linux/Windows 可部署的 OpenGL 窗口和操作系统库
我想在 Linux 中建立一个 OpenGL 开发环境,我也可以在 Windows 上进行交叉编译。 看起来 GLFW + OpenGL 会给我我所需要的。
我尝试安装 Ubuntu 8.10 的 GLFW 开发包,但遇到了依赖问题。 不过,我可能会坚持下去。
有人用过 Linux 下的 GLFW 吗? 有人尝试过 Windows 交叉编译吗? 是否有其他可能更好的解决方案来使用 OpenGL 处理窗口?
I'd like to set up an OpenGL development environment in Linux that I can also cross-compile for Windows out of. It looks like GLFW + OpenGL will give me what I need.
I tried installing the GLFW development package for Ubuntu 8.10, but I had dependency problems. I may stick with it, though.
Has anyone used GLFW for Linux? Has anyone tried cross-compiling for Windows? Is there another solution to handle windowing with OpenGL that might be better?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我第二个SDL。 我还建议使用 GLee 或 GLEW 进行扩展管理
I second SDL. I also suggest GLee or GLEW for extension managing as well
我会尝试SDL,它非常容易使用。 对于交叉编译,我会使用 MinGW 或 Cygwin。
I would try SDL, it is very easy to use. For cross compilation, I would use MinGW or Cygwin.
我建议结合使用 Qt 和 OpenGL 来满足您的窗口需求。 从 4.5 开始,Qt 现已成为 LGPL,并且开箱即用地支持 Linux、Windows 和 Mac。
I would recommend looking at using Qt and OpenGL together for your windowing needs. As of 4.5, Qt is now LGPL, and supports Linux, Windows, and Mac out of the box.