在 Mac C++ 上运行 opengl 和 glut蚀

发布于 2024-12-01 23:28:37 字数 421 浏览 3 评论 0原文

我正在使用 Mac OS X 10.5 和 Eclipse 32 位。我想通过使用 GLUT 或 OpenGL 来运行简单的图形程序。我已按照OS X 上的 Eclipse 中的 OpenGL 和 GLUT 提供的说明进行操作 但我仍然无法运行 OS X 上 Eclipse 中的 OpenGL 和 GLUT 我也不知道我的操作系统是 64 位还是 32 位。

I am working with Mac OS X 10.5 and Eclipse 32 bit. I would like to run the simple graphics program by making the use of either GLUT or OpenGL. I had followed the instruction provided OpenGL and GLUT in Eclipse on OS X but still I am unable to run the program listed in the derick post of OpenGL and GLUT in Eclipse on OS X
I also don't know exactly about my OS whether it is 64 bit or 32 bit.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

杀お生予夺 2024-12-08 23:28:38

以下是适合我的设置。我目前在 Windows 中工作,但这些设置已经在 Mac OS X 中进行了测试并且可以工作。关于 GLEW 的额外部分是可选的,通常不包含在 Mac OS X 中。如果您想使用 GLEW,则必须自己为 Mac OS X 编译 GLEW。

其他链接器设置

GCC C++ 包含设置

链接器库设置

Here are the settings that work for me. I am currently working in windows, but these settings have been tested in Mac OS X and they work. That extra bit about GLEW is optional, and not normally included in Mac OS X. If you want to use GLEW, you have to compile GLEW for Mac OS X yourself.

Misc Linker Settings

GCC C++ Include Settings

Linker Library Settings

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