22 Replies - 9259 Views - Last Post: 01 June 2010 - 11:19 AM
#1
OpenGL tutorial
Posted 30 May 2010 - 08:43 AM
Thank you in advance for you help
Replies To: OpenGL tutorial
#2
Re: OpenGL tutorial
Posted 30 May 2010 - 08:51 AM
http://nehe.gamedev.net/
http://www.codecolony.de/opengl.htm
http://www.naturewiz...torial0102.html
http://www.opengl.or...de/category/C22
This post has been edited by eker676: 30 May 2010 - 08:53 AM
#3
Re: OpenGL tutorial
Posted 30 May 2010 - 09:16 AM
#4
Re: OpenGL tutorial
Posted 30 May 2010 - 12:49 PM
There is such an error for each and every GL function that this tutorial uses. I thought that maybe the .lib files haven't been installed correctly. just for the record when i checked the header files i found out that all the functions were declared but the code for them was missing.
#5
Re: OpenGL tutorial
Posted 30 May 2010 - 01:08 PM
Quote
#6
Re: OpenGL tutorial
Posted 30 May 2010 - 01:40 PM
.
#7
Re: OpenGL tutorial
Posted 30 May 2010 - 01:47 PM
This post has been edited by ImaSexy: 30 May 2010 - 01:48 PM
#8
Re: OpenGL tutorial
Posted 31 May 2010 - 10:33 AM
#9
Re: OpenGL tutorial
Posted 31 May 2010 - 10:53 AM
In Dev-C++, like in other IDEs, you can set project options. One of those options is additional library paths and libraries to link. So you need to indicate the opengl library.
EDIT: And, I should ask, is there any particular reason you are not using Visual C++?
This post has been edited by Oler1s: 31 May 2010 - 10:59 AM
#10
Re: OpenGL tutorial
Posted 31 May 2010 - 11:13 AM
Here is another one: In Dev-Cpp/lib there are no .lib files. All files are lib<filename>.a. Is taht a problem?
#11
Re: OpenGL tutorial
Posted 31 May 2010 - 11:14 AM
#12
Re: OpenGL tutorial
Posted 31 May 2010 - 11:22 AM
#13
Re: OpenGL tutorial
Posted 31 May 2010 - 11:25 AM
Quote
That said, library files are compiler specific. Regardless of naming scheme.
Quote
Do read the errors. error LNK*** which means linker error. Unresolved external symbol. You used a function, but the compiler can't find the function definition. Either you must provide the code, or provide a library.
This post has been edited by Oler1s: 31 May 2010 - 11:27 AM
#14
Re: OpenGL tutorial
Posted 31 May 2010 - 12:11 PM
This post has been edited by Latous: 31 May 2010 - 12:28 PM
#15
Re: OpenGL tutorial
Posted 31 May 2010 - 12:35 PM
Quote
These linker errors aren't OpenGL specific. You should have encountered them as a beginner. You should have learned to confront and deal with these errors during that time. Instead, a lot of your fumbling about is because you haven't confronted any of these issues before, which you should have. So now, in addition to learning OpenGL, you have to learn everything else. You are obviously struggling here. I am not calling you stupid. But I do see you stumbling about on things you should be able to handle.
Quote
Quote
You can download Glut because that's just another library of code for working with OpenGL. It's not an OpenGL implementation.
|
|

New Topic/Question
Reply




MultiQuote





|