PDA

View Full Version : GLUT disused?



question2
05-31-2015, 11:26 AM
Hello,
On OS X, GLUT has been "deprecated" since 10.9 and the current OS is 10.10.
Should I take this to mean that GLUT is falling out of favor universally, and that if I plan to do cross-platform OpenGL coding I should avoid GLUT?
Thanks.

GClements
05-31-2015, 01:59 PM
On OS X, GLUT has been "deprecated" since 10.9 and the current OS is 10.10.
Should I take this to mean that GLUT is falling out of favor universally, and that if I plan to do cross-platform OpenGL coding I should avoid GLUT?
No. They're just saying that writing cross-platform code is "deprecated" in favour of code that only runs on Apple systems.

I believe GLUT is still more widely used than GLFW. If you need more flexibility than GLUT provides, look at SDL, but it's more complex than GLUT. The other cross-platform option is a full GUI toolkit such as GTK, Qt, or wxWidgets, but that's a fairly heavy-weight solution if you only need what GLUT offers.

Carmine
05-31-2015, 08:00 PM
On OS X, GLUT has been "deprecated" since 10.9 and the current OS is 10.10. I'm running GLUT on Yosemite with no problems.

Alfonse Reinheart
05-31-2015, 09:53 PM
No. They're just saying that writing cross-platform code is "deprecated" in favour of code that only runs on Apple systems.

No, they aren't. They're saying that GLUT is not to be used. And it shouldn't be.

FreeGLUT is a different matter altogether.

Regular GLUT is something that ships with MacOSX, and they've deprecated it wbecause they wish to get rid of it. As they should, since it hasn't been updated in decades.

FreeGLUT is compatible with non-Free GLUT, and it's still being updated.