Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Problem with using GLUT
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Problem with using GLUT (Read 3034 times)
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
Logged
stahta01
Lives here!
Posts: 7600
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
»
Logged
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
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
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
General (but related to Code::Blocks)
»
Problem with using GLUT