PDA

View Full Version : GCC, OpenGL and FreeGLUT - Quick question.



SeanCallan
October 18th, 2005, 09:16 PM
To date I have GCC and FreeGLUT installed and working fine.

I have a file light.c which simulates animation of a light source. It compiles without warning/errors; however, when I run it I get this:


sean@Doomspork:~/Desktop$ ./light
freeglut (./light): OpenGL GLX extension not supported by display ':0.0'

Am I missing a repo?

mlomker
October 18th, 2005, 09:49 PM
OpenGL GLX extension not supported by display ':0.0'[/CODE]


Are you, by chance, running 64-bit? That error resembles the errors (http://www.ubuntuforums.org/showthread.php?p=422244#post422244) that 64-bit ATI users are getting right now--3D is essentially broken in Breezy 64-bit.

Can you run other openGL applications, such as screen savers?

SeanCallan
October 18th, 2005, 10:18 PM
I'm not using 64bit actually and I have an nvidia card.

I have no problem with previewing the screen savers, I don't have one set to run though.

ubuntu_123
October 19th, 2005, 05:29 PM
Hi, there

Can somebody help me to install OpenGL and Glut?

I am new to ubuntu, or can you direct me to some helpful source?

Thank you.
yasir.