本文介绍了有关过剩功能的xcode 5弃用警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我今天早上才将Mac OS X 10.6.8升级到10.9.除了带有OpenGL Glut API的Xcode 5之外,其他一切都很好.每当我运行涉及过剩功能的程序时,都会收到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.
这篇关于有关过剩功能的xcode 5弃用警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!