glut

hit there, I’m new to OpenGL programming on the mac & have succesfully set up contexts/windows etc. using agl. I’m now experimenting with glut, but have been unable to succesfully run any code. I’ve tried the examples with the sdk but glutInit always fails to initialise a window. Could anyone give me some pointers? thanks in advance for your help :wink:

Ha, I guess you haven’t put the resource file into project, the name is like “*.rsrc” in the OpenGL SDK 's resource folder.
CodeWarrior won’t report any error if you don’t put this file into, but glutInit will never succeed.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.