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