View Full Version : DevC++
Hi....
I use DevC++ compiler but always that I try to compile some program it send a messages like that below for all GL/glut.h functions:
[Linker error] undefined reference to `glBegin@4'
Can somebody help me?
Silkut
09-28-2004, 11:18 AM
Have you linked the correctly on your project ?
usually, the external symbol errors means it's a problem from linking
I use another compiler so I can't telling you the correct manipulation, try to find with any tutorial ;)
If this problem persist, display your code here plz
I believe you are using a vc++ library, usualy with .lib extension, devc++ uses mingw and you need the apropriate library, in this case .a. I can't remember where i found it but if you send an email to uber_napalm_cobra@hotmail.com ill send it back to you, otherwise if you don't want to give your email out just try searching for opengl+mingw.
Joe_Oliveri
09-28-2004, 06:17 PM
Add the file libglut.a to your project, Its in the DevC++ Lib folder.
Btw that header does not exist in DevC++, Try the .a libary.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.