Author Topic: Problem with using GLUT  (Read 2966 times)

Offline savail

  • Single posting newcomer
  • *
  • Posts: 3
Problem with using GLUT
« on: September 01, 2010, 07:45:25 pm »
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

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7589
    • My Best Post
Re: Problem with using GLUT
« Reply #1 on: September 01, 2010, 08:04:42 pm »
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.

« Last Edit: September 01, 2010, 08:12:35 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline savail

  • Single posting newcomer
  • *
  • Posts: 3
Re: Problem with using GLUT
« Reply #2 on: September 01, 2010, 08:21:00 pm »
alright, thanks for advice