PDA

View Full Version : error linker messages.



pike168
06-21-2004, 12:21 PM
ok i think i might have finally set up my devc++ compiler to run openGL files and i am using a openGL tutorial from the gametutorial.com website and its says to include the following headers:

#include <stdio.h>
#include <stdlib.h>
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glut.h>

amd these are the only error messages i get and they have nothing to do with header files so what do the following error messages mean:


[Linker error] undefined reference to `__glutInitWithExit@12'


[Linker error] undefined reference to `__glutCreateWindowWithExit@8'


[Linker error] undefined reference to `__glutCreateMenuWithExit@8'

06-21-2004, 03:15 PM
#define GLUT_ATEXIT_HACK

Me6
06-23-2004, 06:34 AM
What do you have in your linker line?