Skip to main content
gamedev.net
🔒 Locked

Gl/Glut

Started by cellman Jan 20, 2005 at 2:33 PM 1 replies 750+ views
Original Post
cellman
cellman
How do I add this file. ?? #include
Alex Baker
Alex Baker
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 Baker Computer science is dealing with computers as much as astronomy is dealing with telescopes.
uncleben
uncleben
For portability reasons you should care of Uppercase/Lowercase characters.
So you should write
#include

Benjamin Block

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.