Gl/Glut

Started by
1 comment, last by uncleben 19 years, 3 months ago
How do I add this file. ?? #include <GL/Glut>
Advertisement
hi,


this depends on, where you have copied the glut files to.
usually, you place the glut files in the GL directory of
your compiler installation, for example it looks this way
on my machine:
C:\Development\VisualStudio\VC98\Include\GL\glut.h


then, in the code you have to write
#include <gl/glut.h>


Alex BakerComputer science is dealing with computers as much as astronomy is dealing with telescopes.
For portability reasons you should care of Uppercase/Lowercase characters.
So you should write
#include <GL/glut.h>

- Benjamin Block

This topic is closed to new replies.

Advertisement