help!!!

hi when i try compiling an opengl program it says gl/gl.h :no such file or directory and several such messages for other header files ,how do i go with it .is some more procedure needed in compiling

Are you sure you have that file at all? Look for a GL-subdirectory in your compilers include directory, gl.h should be in there.

And another thing, try #include <GL/gl.h> instead. It can be that it your compiler is case sensitive.

thanks it worked and the program is compiling well but again it is not running saying that

a.out:could not open display

help me out

#1 Are you running as root?, #2 Is it an XWindows program and are you in XWindows?

I think you might have to compile the libraries… Try recompiling the libraries … If u r usin XWin … than try running the Imake again … and than try teh make file …

Originally posted by suraj mittal:
[b]thanks it worked and the program is compiling well but again it is not running saying that

a.out:could not open display

help me out

[/b]