GLUT: Fatal Error in (unamed): could not open display:

I get this error when trying to run my program in a unix environment:

GLUT: Fatal Error in (unamed): could not open display:

Anyone know what this is and how I can fix it? Thanks.

Seems that OpenGL isnt installed properly or you are requesting a visual that is not supported by the current setup.

Run “glxinfo” and see what it says.

Ok, I ran glxinfo and it gave me this:

Error: unable to open display (null).

What does this mean?

There is no OpenGL installed at all.