GLUT header files

gcc tells me all of my GLUT functions such as glutInit() and glutKeyboardFunc() are unresolved, even though glut.h is where it’s supposed to be. Painful.

Also, why are the glut functions declared extern?

Are you linking with glut?

gcc … yada yada -lglut

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