I just got the latest version of Dev-C++ and relatively new to it (been using DJGPP). I was wondering how to be able to use openGL/GLUT with it in a source file. Do I need to download something, if so where? Is it already included, if so how do include GLUT or openGL headers.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just got the latest version of Dev-C++ and relatively new to it (been using DJGPP). I was wondering how to be able to use openGL/GLUT with it in a source file. Do I need to download something, if so where? Is it already included, if so how do include GLUT or openGL headers.
Thanks
I'm not exactly sure what you want to know but the OpenGL includes you'll probably want are:
#include <gl/gl.h>
#include <gl/glu.h>
#include <gl/glaux.h>
and you need to set the linker under Project Options to include:
-lopengl32 -lglu32 -lglut32 -lglaux
That is, assuming you've got the OGL libraries.