View Full Version : OpenGL tutorial problem
Odin2014 05-25-2006, 04:18 PM I'm a total newbie in OpenGL, so I was trying to complie and run this tutorial (http://nehe.gamedev.net/data/lessons/devc/lesson05.zip) in DevC++, but this problem appears:
http://img122.imageshack.us/img122/4746/opengl18qb.jpg (http://imageshack.us/)
So any help would be really great.
|
|
billrobertson42
05-25-2006, 11:09 PM
Don't use the -fdollars-in-identifiers option, aparently the version of gcc shipped with devc++ doesn't understand that. I doubt that will be a big deal though because outside of VMS I've never seen that in c anyway. Go to your project settings and look under compiler options. Find where that's either checked or entered in some text box and remove it.
Odin2014
05-27-2006, 05:10 PM
Thank you for your answer, but now I have another problem:
http://img149.imageshack.us/img149/5143/opengl23ch.jpg
you will have to link with your opengl library to resolve the symbols.
Odin2014
05-28-2006, 05:03 AM
And how do I do that in Dev C++...?
Segmoria
05-28-2006, 08:25 PM
Normally you would go "Project>Project Options>Parameters" and check under the Linker.
But you should already have there your opengl libraries, since this information is saved in the .dev file that is provided with this NEHE lession.
Do you have all the header files (vcl.h, gl.h, glu.h, glaux.h, etc) in place?
And btw the link you provide is not the same with the one you're trying to compile, right?
Odin2014
05-29-2006, 04:31 PM
Thank you Segmoria that really helped me, it was that I only opened the .cpp file and not the .dev one.
CGTalk Moderation
05-29-2006, 04:31 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.