PDA

View Full Version : glut.h and gl.h



laserator
February 21st, 2012, 09:57 PM
Hello, I am having trouble compiling a simple glut program. I get an error messege that tells me a certain function has been previously defined.


#ifndef APIENTRY
#define APIENTRY GLAPIENTRY
#endif
can someone help me out? Im not sure if I am linking Code::Blocks to the right files, or if I have two of the same or something like that.