Can not initialize sdl

after cross-compiling sdl on the platform uclinux without x11,
running the demos of sdl,it will
generate a error showing that the sdl can’t
be initialized.

Then what would beget this error??

thanks a lot…

huangwei at sunplus.com.cn wrote:

after cross-compiling sdl on the platform uclinux without x11,
running the demos of sdl,it will
generate a error showing that the sdl can’t
be initialized.

Then what would beget this error??

thanks a lot…

I’m no LINUX expert, but perhaps SDL ended up getting compiled without
any video drivers; if it was using the x11 driver alone, there’d be
nothing else to use without it.

Could the nano-x be used as video driver instead of x11 then?
I have cross-compile sdl for nano-x.

Regards,
Andy

Lets say you only compiled in one video driver (and it doesnt matter which one)
No matter what driver you compiled in, it becomes the default driver.On 16-Jan-2003, huangwei at sunplus.com.cn wrote:

Could the nano-x be used as video driver instead of x11 then?
I have cross-compile sdl for nano-x.


Patrick “Diablo-D3” McFarland || unknown at panax.com
"Computer games don’t affect kids; I mean if Pac-Man affected us as kids, we’d
all be running around in darkened rooms, munching magic pills and listening to
repetitive electronic music." – Kristian Wilson, Nintendo, Inc, 1989
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030116/ddb7b51f/attachment.pgp

oh,I see.

when running testwm, the error is :


nano-X: GsError Gouldn’t initialize SDL:Couldn’t create
semaphore(GrDestroyGC)
Bad graphics context:0

is there any relation between them??

thanks,
Andy