View Full Version : DevC++
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?
09-28-2004, 12:18 PM
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 email@example.com ill send it back to you, otherwise if you don't want to give your email out just try searching for opengl+mingw.
09-28-2004, 07: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.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.