   Problem with using GLUT
  HelloI Installed and configured C::B from this tutorial, so maybe some files are too old im not sure: http://www.levelbylevel.com/blog/opengl-c-and-glut-using-codeblocks-and-mingw-updated/#more-198When I create OpenGL project, the default program runs properly, but when I include glut.h instead of gl.h there are errors inside the library glut.h at 483 500 and 546 line, like: undefined reference to "function name"No matter what the code the error always appears whenever I include glut.h. I noticed Library GLUT has included gl.h and glu.h so i don't know what's wrong. I would be very grateful for your help   
  You likely are not linking against the glut.lib library file.  Which compiler are you using?   ;  Im using default GNU GCC Compiler   ;  On the opengl forum someone told me to put #define GLUT_DISABLE_ATEXIT_HACK before #include <glut.h> and it helped partly. Now when I linked glut32 everything works fine. Thanks a lot for your post!   