LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   What's the definitive way to know if GL is working or not? (https://www.linuxquestions.org/questions/linux-games-33/whats-the-definitive-way-to-know-if-gl-is-working-or-not-238946/)

Linux.tar.gz 10-05-2004 03:51 AM

What's the definitive way to know if GL is working or not?
 
At a console type the following: glxinfo | grep direct if it replies with direct rendering: Yes. Then GL _should_ be working.
-From Linux Gamers' FAQ.

win32sux 10-05-2004 04:28 AM

try running "glxgears"... if it works, you're set... i think...


theYinYeti 10-05-2004 05:24 AM

Yes. If glxgears is working, then GL is working. If glxinfo reports Direct rendering: Yes, the GL is working *with* 3D acceleration.

Yves.

azraelder 10-05-2004 06:36 AM

What about GLUT. What is a definitive way of detirmining that GLUT is installed properly. And if it is installed properly, why don't some games see it and compile properly?

azraelder

win32sux 10-05-2004 04:32 PM

isn't glut used to make opengl games and apps??

http://mindfuck.de-brauwer.be/articles/glut/

azraelder 10-06-2004 04:18 AM

Thats right, and it is needed to compile opengl games and apps. It is very frustrating when I see a very cool opengl game such as Tux-a quest for herring appear to configure properly only to give the error "undefined reference to glutinitwindowposition" or something similer.

Some Glut applications seem to go ok, others don't. I don't understand why.
It is a shame because it is a very powerful toolkit for some very nice effects.

azraelder

win32sux 10-06-2004 06:48 PM

Quote:

Originally posted by azraelder
Thats right, and it is needed to compile opengl games and apps. It is very frustrating when I see a very cool opengl game such as Tux-a quest for herring appear to configure properly only to give the error "undefined reference to glutinitwindowposition" or something similer.

Some Glut applications seem to go ok, others don't. I don't understand why.
It is a shame because it is a very powerful toolkit for some very nice effects.

azraelder

i see... well, this guy had a similar issue:

http://www.linuxquestions.org/questi...oto=nextoldest

try bumping the thread (by asking him to post what he did to get glut working right)...

from his last post, i gather it might have had something to do with library links, but i'm not sure...

Quote:

...i finally got a proper compile and the program works... i haven't got much experience in using library links in gcc...

here's a couple other threads you can look into:

http://www.linuxquestions.org/questi...threadid=29387

http://www.linuxquestions.org/questi...oto=nextoldest


i hope this helps... good luck...


All times are GMT -5. The time now is 04:58 AM.