[SDL] Using SDL in a console window
Stephane Marchesin
stephane.marchesin at wanadoo.fr
Mon Feb 13 15:11:15 PST 2006
Bob Weber wrote:
>Hello. I'm a newbie to SDL, and am trying to get it to work in a console
>window. I can use it under X11, but when I run it in a console window, I get
>an error about no video device.
>
>I have framebuffer support implemented, and the framebuffer does come up when
>I start linux. I've tried specifying the framebuffer via:
>export SDL_VIDEODRIVER=fbcon
>export SDL_VIDEODRIVER=fbdev
>export SDL_VIDEODRIVER=directfb
>
>and then running my binary, but I continue to get this error. I know I'm
>missing something silly, but I could sure use some help figuring out what.
>
>
>
So, there can be multiple causes :
- SDL compiled without fbcon support or without directfb support (fbdev
doesn't exist, btw)
- improper configuration of fbcon/directfb
Stephane
More information about the SDL
mailing list