SDL and DirectFB: No available video device

My greetings to all.
I’ve got a problem when trying to make SDL run with DirectFB.
I’ve configured SDL with --enable-video-directfb, it reported that everything is found and built ok.
When I set SDL_VIDEODRIVER=directfb it reports: No available video device.
LD_LIBRARY_PATH is set properly so mplayer and directfb test suit finds it ok.
Any ideas or thoughts ?
Thanks,
Bors/

I’ve configured SDL with --enable-video-directfb, it reported that
everything is found and built ok. When I set SDL_VIDEODRIVER=directfb it
reports: No available video device. LD_LIBRARY_PATH is set properly so
mplayer and directfb test suit finds it ok. Any ideas or thoughts ?

Does ldd /usr/lib/libSDL.so output something like this:

libdirectfb-0.9.so.20 => /usr/lib/libdirectfb-0.9.so.20 (0x40082000)

?

Thomas

Hi Thomas,
Here is the output of ldd:
( RedHat 8.0 / Epia-M6000 )

$ ldd /usr/local/lib/libSDL.so
libdirectfb-0.9.so.20 => /usr/local/lib/libdirectfb-0.9.so.20
(0x40076000)

Bors/> ----- Original Message -----

From: tomj@simonv.com (Thomas Jarosch)
To:
Sent: Sunday, December 28, 2003 5:40 PM
Subject: Re: [SDL] SDL and DirectFB: No available video device

I’ve configured SDL with --enable-video-directfb, it reported that
everything is found and built ok. When I set SDL_VIDEODRIVER=directfb it
reports: No available video device. LD_LIBRARY_PATH is set properly so
mplayer and directfb test suit finds it ok. Any ideas or thoughts ?

Does ldd /usr/lib/libSDL.so output something like this:

libdirectfb-0.9.so.20 => /usr/lib/libdirectfb-0.9.so.20 (0x40082000)

?

Thomas


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Here is the output of ldd:
( RedHat 8.0 / Epia-M6000 )

$ ldd /usr/local/lib/libSDL.so
libdirectfb-0.9.so.20 => /usr/local/lib/libdirectfb-0.9.so.20
(0x40076000)

As you mention you are running RedHat (rpm based), could it be
you have another version of SDL installed f.e. under /usr/lib?

Do a ldd of the program you want to run and see which
SDL library it tries to load.

Thomas