The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL without X11
Ricky
Guest

Hi,
I'm going to use SDL on a embedded system, using the native Linux frame buffer,
i.e. without neither using X11, nor OpengGL.
Is there a setting on configure for easily achieving this? I mean: I've disabled
the X11 stuff in the configure while XCompiling, and all seems to work. IF I do
the same on my Ubuntu distro, the SDL samples won't work anymore, while they
did, before disabling X11 stuff.
So I guess this is the problem, when I used a long time ago NanoX I've disabled
the X11 stuff and used the NanoX framebuffer.
Is there a similar concept here in SDL, i.e. a option which must be enabled
during library configure phase?
Thank you and sorry if this may sound dumb.

Ricky
SDL without X11
Donny Viszneki
Guest

On Thu, Jan 1, 2009 at 12:20 PM, Ricky <riccardoventrella at yahoo.it> wrote:
Quote:
I'm going to use SDL on a embedded system, using the native Linux frame buffer,
i.e. without neither using X11, nor OpengGL.
Is there a setting on configure for easily achieving this? I mean: I've disabled
the X11 stuff in the configure while XCompiling, and all seems to work.

What is XCompiling?

Quote:
IF I do
the same on my Ubuntu distro, the SDL samples won't work anymore, while they
did, before disabling X11 stuff.

Are you saying you tried them under X and expected them to work when
you disabled X support? Saying you tried this on Ubuntu is what makes
me imagine that you're running X.

Quote:
So I guess this is the problem, when I used a long time ago NanoX I've disabled
the X11 stuff and used the NanoX framebuffer.
Is there a similar concept here in SDL, i.e. a option which must be enabled
during library configure phase?

One of these options might be relevant:

--enable-video-fbcon use framebuffer console video driver [default=no]
--enable-video-directfb use DirectFB video driver [default=no]

--
http://codebad.com/