寻找 Linux/Windows 可部署的 OpenGL 窗口和操作系统库

发布于 2024-07-16 12:47:02 字数 239 浏览 6 评论 0原文

我想在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

初见你 2024-07-23 12:47:02

我第二个SDL。 我还建议使用 GLee 或 GLEW 进行扩展管理

I second SDL. I also suggest GLee or GLEW for extension managing as well

痞味浪人 2024-07-23 12:47:02

我会尝试SDL,它非常容易使用。 对于交叉编译,我会使用 MinGW 或 Cygwin。

I would try SDL, it is very easy to use. For cross compilation, I would use MinGW or Cygwin.

话少心凉 2024-07-23 12:47:02

我建议结合使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文