User forums > General (but related to Code::Blocks)

Problem with using GLUT

(1/1)

savail:
Hello
I 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-198
When 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

stahta01:
I suggest posting the real error message in a web site that supports the Library.

Edit: Someone on this site might help you; but you tend to get faster and better answer from users of the library on how to use the library. Also, this is NOT an Code::Blocks question so it might get locked from being off topic.

Note: Please turn on Full Compiler Logging so the site that supports the Library cab help you.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F

Tim S.

savail:
alright, thanks for advice

Navigation

[0] Message Index

Go to full version