new guy question

Started by
2 comments, last by Psoda 22 years, 6 months ago
Hi. I''m new to OpenGL and I''m a little unclear what header files I need in the include folder to use OpenGL. I think all I need is GL, GLU, and GLUT. I looked in my version of Bloodshed C++ and I noticed I have GL, GLAUX, and GLU. In the one FAQ I read on OpenGL it said you had to have GL, GLU and GLUT. Is the FAQ out of date or something? Was interested in messing around with some examples of some C++ code that use OpenGL(one include statement included glut.h). Can someone clear this up for me? Thanks.
Keep the dream alive.
Advertisement
nehe.gamedev.net

take his first few tutorials, I am sure youll learn this way.
------------------------------Put THAT in your smoke and pipe it
GLUT isn''t part of OpenGL, it''s a help library to hide all the OS specific code.

[Resist Windows XP''s Invasive Production Activation Technology!]
If you are using Visual C++ and you just want to use commands with the gl prefix:

At the top of every file that has functions that use such a command:
#include

In the project setting, under the Link tab, add opengl32.lib to the line with all the filenames
Stefan

This topic is closed to new replies.

Advertisement