View Full Version : What files are needed to start??

05-15-2006, 12:56 PM
Hi, i am very new to openGL; i've jsut finished learing the C++ and the Obejct-Oriented Programming:

My question is: what files do i need to start coding in OpenGL?? Of course i have a compiler (DevC++: is that ok? I run Xp)

I read the FAQ but the link to the aswer of my question doesn't work.

Thanks in advance for your interest.

05-15-2006, 02:15 PM
gl.h, glu.h, glut.h and their matching libraries. That's all.

glut is not an obligation but very good to start.
glu is not an obligation but very very good help.

05-15-2006, 06:35 PM
...That is, you must add in the Settings of your Microsoft C++ Project, in the Link section:
OpenGL32.lib GLu32.lib

You may also add in the future:
GLaux.lib GLee.lib
for using Extensions

I don't use GLUT, but I think that the lib is called: glut32.lib

GLUT is really useful to get started, especially if you plan to program all in C++.

Good luck and post any questions you have!
Once you get to it, it flows really easily!