02-24-2004, 06:48 PM
After compiling an OpenGL program using gcc, I can't run it from the terminalby typing "./a.out"
If I do so, I get the following error:
GLUT: Fatal error in a.out: could not open display: ainband600:0.0
where ainband600 is my computer's hostname.
If I open GNOME and run a.out using the "Run" command then the program runs fine.
Can anyone help me out here?
Thanks in advance...
If I do so, I get the following error:
GLUT: Fatal error in a.out: could not open display: ainband600:0.0
where ainband600 is my computer's hostname.
If I open GNOME and run a.out using the "Run" command then the program runs fine.
Can anyone help me out here?
Thanks in advance...