News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Problem with using GLUT

Started by savail, September 01, 2010, 07:45:25 PM

Previous topic - Next topic

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

#1
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.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

savail