SDL and DirectFB

First I’d like to thank all of you regarding the fullscreen mode question
earlier. Although I haven’t implemented it yet (because of a problem that
I’m about to ask in this mail), I pretty much get the big picture thanks
to all of you.

Maybe what I want to ask is not entirely about SDL, but rather the Linux.
Or maybe it’s about the IDE (KDevelop) than I’m using. But it still has
connection with SDL. I didn’t know that much about Linux although I’ve
used it 1 year now. :smiley:

Now, I’m now developing on a new installation of Linux. In the
installation before, I used SuSE 10.0 without (maybe, I forgot) the
DirectFB package. So when I compiled my application, it didn’t use
DirectFB. The “ldd” command also didn’t display this library. But now I’m
re-installing my computer with SuSE 10.1. This new one compiles with
DirectFB as its dependency. Maybe it’s because I picked all of the
packages in the installer and didn’t only pick the needed ones like
before. Unfortunately, my boss told me to get rid of the DirectFB in my
application because the older version didn’t have this. Unfortunately,
since I didn’t declare it directly in my application, I assume that it was
one of the libraries used that declared it. So I assume it was actually
SDL that uses DirectFB. So the question is how do I get rid of DirectFB in
my application?

Thanks in advance.

Fare thee well,
Bawenang R. P. P.----------------
ERROR: Brain not found. Please insert a new brain!

?Do nothing which is of no use.? - Miyamoto Musashi.

“I live for my dream. And my dream is to live my life to the fullest.”

if you didnt put directfb in your app, then you probably dont need to
take it out. i think when sdl starts it trys X first, then if that
fails it will try directfb.

are you using any other libs with sdl ?

mattOn Sat, 25 Aug 2007 11:29:41 +0700 (WIT) benang at cs.its.ac.id wrote:

First I’d like to thank all of you regarding the fullscreen mode
question earlier. Although I haven’t implemented it yet (because of a
problem that I’m about to ask in this mail), I pretty much get the
big picture thanks to all of you.

Maybe what I want to ask is not entirely about SDL, but rather the
Linux. Or maybe it’s about the IDE (KDevelop) than I’m using. But it
still has connection with SDL. I didn’t know that much about Linux
although I’ve used it 1 year now. :smiley:

Now, I’m now developing on a new installation of Linux. In the
installation before, I used SuSE 10.0 without (maybe, I forgot) the
DirectFB package. So when I compiled my application, it didn’t use
DirectFB. The “ldd” command also didn’t display this library. But now
I’m re-installing my computer with SuSE 10.1. This new one compiles
with DirectFB as its dependency. Maybe it’s because I picked all of
the packages in the installer and didn’t only pick the needed ones
like before. Unfortunately, my boss told me to get rid of the
DirectFB in my application because the older version didn’t have
this. Unfortunately, since I didn’t declare it directly in my
application, I assume that it was one of the libraries used that
declared it. So I assume it was actually SDL that uses DirectFB. So
the question is how do I get rid of DirectFB in my application?

Thanks in advance.

Fare thee well,
Bawenang R. P. P.

Well, I only use cups which AFAIK doesn’t use X or DirectFB whatsoever.
How do I remove the directfb dependency without having to reinstall my
computer? I’ve tried removing directfb package directly but it won’t
compile because it couldn’t find directfb.

Thanks a lot.

matt wrote:

if you didnt put directfb in your app, then you probably dont need to
take it out. i think when sdl starts it trys X first, then if that
fails it will try directfb.

are you using any other libs with sdl ?

matt

First I’d like to thank all of you regarding the fullscreen mode
question earlier. Although I haven’t implemented it yet (because of a
problem that I’m about to ask in this mail), I pretty much get the
big picture thanks to all of you.

Maybe what I want to ask is not entirely about SDL, but rather the
Linux. Or maybe it’s about the IDE (KDevelop) than I’m using. But it
still has connection with SDL. I didn’t know that much about Linux
although I’ve used it 1 year now. :smiley:

Now, I’m now developing on a new installation of Linux. In the
installation before, I used SuSE 10.0 without (maybe, I forgot) the
DirectFB package. So when I compiled my application, it didn’t use
DirectFB. The “ldd” command also didn’t display this library. But now
I’m re-installing my computer with SuSE 10.1. This new one compiles
with DirectFB as its dependency. Maybe it’s because I picked all of
the packages in the installer and didn’t only pick the needed ones
like before. Unfortunately, my boss told me to get rid of the
DirectFB in my application because the older version didn’t have
this. Unfortunately, since I didn’t declare it directly in my
application, I assume that it was one of the libraries used that
declared it. So I assume it was actually SDL that uses DirectFB. So
the question is how do I get rid of DirectFB in my application?

Thanks in advance.

Fare thee well,
Bawenang R. P. P.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Fare thee well,
Bawenang R. P. P.> On Sat, 25 Aug 2007 11:29:41 +0700 (WIT) @benang_at_cs.its.ac wrote:


ERROR: Brain not found. Please insert a new brain!

?Do nothing which is of no use.? - Miyamoto Musashi.

“I live for my dream. And my dream is to live my life to the fullest.”

This is the doing of KDevelop. KDevelop uses a combination of templates
and autotools to determine what you may or may not need. While this may
mean that it’s very easy to get started (if a template supports your
needs) it makes KDevelop itself very inflexible.

What this /does/ mean is that you should be able to find a 'configure’
file in your code tree which can be run from the command line with
dependencies switched on or off. Try running ./configure --help to get a
list of what those options are. After this you should be able to run it
properly with DirectFB left out and follow it with a make all -> make
install.

In the meantime, you might want to looke up other IDEs like Code::Blocks
and Eclipse to see if they better suit your needs.On Sun, 2007-08-26 at 13:34 +0700, benang at cs.its.ac.id wrote:

Well, I only use cups which AFAIK doesn’t use X or DirectFB whatsoever.
How do I remove the directfb dependency without having to reinstall my
computer? I’ve tried removing directfb package directly but it won’t
compile because it couldn’t find directfb.


Try the all-new Yahoo! Mail. “The New Version is radically easier to use” ? The Wall Street Journal
http://uk.docs.yahoo.com/nowyoucan.html

Ah, thanks. I’ll look at it. Yeah, I made it with autoconf / automake in
KDevelop because I thought it would be easier. Didn’t think it would make
life harder in the long run.

Paul Duffy wrote:> On Sun, 2007-08-26 at 13:34 +0700, @benang_at_cs.its.ac wrote:

Well, I only use cups which AFAIK doesn’t use X or DirectFB whatsoever.
How do I remove the directfb dependency without having to reinstall my
computer? I’ve tried removing directfb package directly but it won’t
compile because it couldn’t find directfb.

This is the doing of KDevelop. KDevelop uses a combination of templates
and autotools to determine what you may or may not need. While this may
mean that it’s very easy to get started (if a template supports your
needs) it makes KDevelop itself very inflexible.

What this /does/ mean is that you should be able to find a 'configure’
file in your code tree which can be run from the command line with
dependencies switched on or off. Try running ./configure --help to get a
list of what those options are. After this you should be able to run it
properly with DirectFB left out and follow it with a make all -> make
install.

In the meantime, you might want to looke up other IDEs like Code::Blocks
and Eclipse to see if they better suit your needs.


Try the all-new Yahoo! Mail. “The New Version is radically easier to use”
? The Wall Street Journal
http://uk.docs.yahoo.com/nowyoucan.html


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Fare thee well,
Bawenang R. P. P.


ERROR: Brain not found. Please insert a new brain!

?Do nothing which is of no use.? - Miyamoto Musashi.

“I live for my dream. And my dream is to live my life to the fullest.”

The KDevelop people seem to think it’s appropriate to use the GNU
autotools in the context of an IDE. Personally I’ve always found that
to be an awful idea that makes KDevelop messy and unusable.

Thankfully this is planned to change, since KDE is abandoning the
autotools in favor of CMake for KDE 4. In fact I believe KDevelop 3.x
already supports CMake projects now, but it’s not the default.

IMHO the best choice right now for a C/C++ IDE under Linux is Eclipse
with the CDT extension. Eclipse has this nice “don’t make things more
complicated than necessary” philosophy when it comes to build
management.On 8/27/07, benang at cs.its.ac.id wrote:

Ah, thanks. I’ll look at it. Yeah, I made it with autoconf / automake in
KDevelop because I thought it would be easier. Didn’t think it would make
life harder in the long run.

  • SR