PDA

View Full Version : help!!!



suraj mittal
08-02-2001, 11:13 PM
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

Bob
08-03-2001, 02:38 AM
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.

suraj mittal
08-03-2001, 03:57 AM
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

rael
08-03-2001, 07:21 AM
#1 Are you running as root?, #2 Is it an XWindows program and are you in XWindows?

sunnyb
08-03-2001, 09:17 AM
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:
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