在 Mac C++ 上运行 opengl 和 glut蚀
我正在使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是适合我的设置。我目前在 Windows 中工作,但这些设置已经在 Mac OS X 中进行了测试并且可以工作。关于 GLEW 的额外部分是可选的,通常不包含在 Mac OS X 中。如果您想使用 GLEW,则必须自己为 Mac OS X 编译 GLEW。
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.