PDA

View Full Version : compiler error



nitch
07-07-2002, 07:46 PM
i'm beginner programmer of opengl.

i've just finished installing linux

on my computer.

but, as soon as i compiled my first program

using opengl library.

some problems make me cry(Ф)

gcc posted error message like below,

"hello.c:3:21: GL/glut.h: the file or directory does not exist"

how can i solve this problem

help,, help....!!!

SebastianB
07-08-2002, 02:32 AM
"hello.c:3:21: GL/glut.h: the file or directory does not exist"
---
obviously your compiler doesnt find the file you try to include "glut.h". check if the directory "GL" exists in the current path and if the file is in there!

http://www.opengl.org/discussion_boards/ubb/smile.gif
seb