关于 glut 函数的 xcode 5 弃用警告 [英] xcode 5 deprecation warning about glut functions

查看:30
本文介绍了关于 glut 函数的 xcode 5 弃用警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上我刚刚将我的 mac os x 10.6.8 升级到 10.9.除了带有 OpenGL Glut API 的 Xcode 5 之外,一切都很好.每当我运行涉及 glut 函数的程序时,都会收到 30 条弃用警告,例如:

I just upgrade my mac os x 10.6.8 to 10.9 this morning. Everything goes fine except the Xcode 5 with OpenGL Glut APIs. Whenever I run my program involving glut functions, I got 30 deprecation warns, like:

'gluErrorString' is deprecated: first deprecated in OS X 10.9.
'glutBitmapCharacter' is deprecated: first deprecated in OS X 10.9.
'glutSwapBuffers' is deprecated: first deprecated in OS X 10.9.
'glutDisplayFunc' is deprecated: first deprecated in OS X 10.9.
'glutIdelFunc' is deprecated: first deprecated in OS X 10.9.
...

推荐答案

将OS X 部署目标"更改回 OSX10.8,然后它就可以工作了.希望他们能尽快处理.

Change "OS X Deployment Target" back to OSX10.8, then it works. Hope they will deal with it soon.

这篇关于关于 glut 函数的 xcode 5 弃用警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆