SDL-1.2.5 & DirectFB

I’m trying to compile SDL with directfb support…

I have installed DirecrFB 0.9.18, and it seems to be working fine…
I can run:

mplayer -dvd 1 -vo dfbmga:nospic

and it plays fine… (dfbmga is part of the DirectFB, wich ouputs your
display on your second head of a Matrox G400 DH, TV-out)

I’ve given it the command line optoin of --enable-video-directfb (which
I dont think i even need to becuae the defualt is yes)

this is on a RH9 system, and they put stuff in /usr/local/include

/usr/local/include/
/usr/local/lib

I’ve tried looking at the configure script… but got confused…

could someone help me out here ???

tahnk for your time,

Scott

I’m trying to compile SDL with directfb support…

What’s the error message you’re getting?
Have you tried downloading the CVS version of SDL?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

I’m trying to compile SDL with directfb support…

What’s the error message you’re getting?
Have you tried downloading the CVS version of SDL?

No error message… but when I complie it says:

checking for DirectFB support… no

I “beleive” I need to know how to tell SDL about my DirectDB install.
Then at least, if it has a problem… it should give an error msg.

Scott

Well, as with most redhat packages, there is also a devel package which
contains the headers and libaries you would need to link with. If you
installed DirectFB with a package, did you install this package as well
(if it even exists)? If you installed from source, the headers/libs
should be there already.

  • Mik Mifflin
    @Mik_MifflinOn Thu, 10 Jul 2003 08:00:08 -0400 “R. Scott Baer” wrote:

No error message… but when I complie it says:

checking for DirectFB support… no

I “beleive” I need to know how to tell SDL about my DirectDB install.
Then at least, if it has a problem… it should give an error msg.

Scott

“R. Scott Baer” wrote:

No error message… but when I complie it says:

checking for DirectFB support… no

I “beleive” I need to know how to tell SDL about my DirectDB install.
Then at least, if it has a problem… it should give an error msg.

Scott

Well, as with most redhat packages, there is also a devel package which
contains the headers and libaries you would need to link with. If you
installed DirectFB with a package, did you install this package as well
(if it even exists)? If you installed from source, the headers/libs
should be there already.

I installed from source… build 0.9.18

R. Scott Baer wrote:

“R. Scott Baer” wrote:

No error message… but when I complie it says:

checking for DirectFB support… no

I “beleive” I need to know how to tell SDL about my DirectDB install.
Then at least, if it has a problem… it should give an error msg

I had to:
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

I figured this out by looking at the config.log file… which someone mentioned in the IQC chat, but at the time I didn’t get it. Finaly did, and it does now complie. Off to chace the next problem. (not SDL related… )

Thanks for all your help,

Scott