I've been trying for the past two days to configure the GLUT for OS X 10.3 for a simple project. The Mac demos and documentation on OpenGL for Cocoa are less than verbose, don't always work, are written in Objective-C and don't use the GLUT. When I follow the tutorial at:
I get "Undefined symbols: _DrawGLScene _InitGL _ResizeGLScene" errors, which I can't figure out. I searched through the class files and I can't find them. So then I'd suspect that I have an old version of the GLUT, but when I pbxbuild install the one I download from Apple, I get an error telling me (among other things) that:
ld: table of contents for archive: ./libForeground.a is out of date; rerun ranlib(1) (can't load from it)
It seems it shouldn't be this hard, what am I doing wrong?