SDL without X11

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

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?

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.

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]On Thu, Jan 1, 2009 at 12:20 PM, Ricky wrote:


http://codebad.com/