3

I recently found out how to create a window in xcode c++, but when i tried to use glutInit it said that it was "deprecated in 10.9" so now i would like to know if there is an alternative to glutInit and other glut stuff

Borgleader
  • 15,826
  • 5
  • 46
  • 62
  • Have a look at http://stackoverflow.com/questions/19568088/xcode-5-deprecation-warning-about-glut-functions – Stefano Sanfilippo Jan 24 '14 at 00:40
  • cool thanks, will this not allow me to then run my app on 10.9 or will it just run as if it were 1.8? – Bob_the_rhino Jan 24 '14 at 00:47
  • It will let you run it just fine. It is a warning not an error. But the general idea is to get you to stop using that framework. The same thing will happen if you try to use AGL (Apple's low-level C based interface for managing GL contexts that are capable of drawing into a window) on 10.9. You can still do it, but you will have no way of creating a core profile context. – Andon M. Coleman Jan 24 '14 at 05:03

1 Answers1

2

As an alternative to GLUT, GLFW does almost as much as what GLUT can do, as GLUT does have a few commands that uses the fixed pipeline.

TheAmateurProgrammer
  • 9,252
  • 8
  • 52
  • 71