GLBasic forum

Main forum => GLBasic - en => Topic started by: kaotiklabs on 2009-Jul-04

Title: Is mandatory GLX support with Linux 2D games?
Post by: kaotiklabs on 2009-Jul-04
Hi, I?m executing one small 2d-only game in Linux (tried on fedora and debian).
Once the dependencies are resolved (sdl_mixer and libstdc++) it fails because I have no glx support.

Is mandatory to have glx enabled even if the game has not any 3d at all?? It seems like opengl support is been linked allways by default...
The linux hosts were virtualized,  may be this could affect?

Thanks!
Title: Re: Is mandatory GLX support with Linux games?
Post by: MrTAToad on 2009-Jul-04
Its mostly likely madatory - especially as SDL uses GLX
Title: Re: Is mandatory GLX support with Linux games?
Post by: kaotiklabs on 2009-Jul-04
Really?

I thought that GLX was just a opengl extension for binding opengl inside an x window, nothing related with SDL.
As far as I know, altought sdl and opengl usually are used together, they are totally independent and so you should not need glx support for playing just an sdl game.

Maybe I?m confused?
Title: Re: Is mandatory GLX support with Linux 2D games?
Post by: MrTAToad on 2009-Jul-04
According to a 2001 message, it uses GLX internally - its possible there are mutiple versions - one uses GLX and the other doesn't
Title: Re: Is mandatory GLX support with Linux 2D games?
Post by: Kitty Hello on 2009-Jul-06
GLBasic uses 3D graphics for 2D, too. If you want to get rid of that dependency, use the "XBox-Linux" build, which is Linux on framebuffer.
Title: Re: Is mandatory GLX support with Linux 2D games?
Post by: kaotiklabs on 2009-Jul-06

Thanks!

That?s what I needed.
You know, altought now is very common to find glx support enabled in new distributions, is not still a default option.
This way is easy to distribute. :)