SDL 1.2 & Debian Woody & KDevelop 1.4

Hello,

I have used KDevelop 1.4 under KDE 2.1.1 with Debian Woody on x86.
So I have put -lsdl in the additionnal link.
Then it compiles and try to link with SDL BUT have dependency with all
target that SDL support.
(libggi, libaa, etc…), and thoses library hadn’t the right names (it
needed libggi.so.1 but only had libggi.so for instance). So I have done the
necessary symbolic links, and it works; but tehre shouldn’t have such
dependencies.

Has someone heared about this problem ?

Thanks a lot

Stephane Magnenat

While I haven’t heard of this specific problem per se, I do know that using
SDL in a KDevelop environment has always been spotty.

Most of the problems stem from the fact that KDevelop is not very friendly to
external monkeying with its pre-defined build process(es), and that SDL
really does require the use of “sdl-config” to ensure that all necessary
libraries are used for a particular platform.

That being said, I would like to assure you that SDL and KDevelop /can/ work
together, you just need to do a bit of tweaking to your projects. Take a look
at the SDL Linux FAQ, second question:
http://www.libsdl.org/faq/FAQ-Linux.html#LINUX_2

and apply its solution to your KDevelop created makefiles and acinclude.m4
files. Then make certain you follow the other instructions in the FAQs
especially this one:
http://www.libsdl.org/faq/FAQ-General.html#GENERAL_INCLUDE

If these don’t help, then feel free to contact me off this list. I have
Debian Woody with KDE 2.1 and KDevelop 1.4, so chances are I can help you
further if these generic solutions don’t already solve your problems.On Thursday 12 July 2001 11:06am, Stephane Magnenat wrote:

Hello,

I have used KDevelop 1.4 under KDE 2.1.1 with Debian Woody on x86.
So I have put -lsdl in the additionnal link.
Then it compiles and try to link with SDL BUT have dependency with all
target that SDL support.
(libggi, libaa, etc…), and thoses library hadn’t the right names (it
needed libggi.so.1 but only had libggi.so for instance). So I have done the
necessary symbolic links, and it works; but tehre shouldn’t have such
dependencies.

Has someone heared about this problem ?


Sam “Criswell” Hart <@Sam_Hart> AIM, Yahoo!:
Homepage: < http://www.geekcomix.com/snh/ >
PGP Info: < http://www.geekcomix.com/snh/contact/ >
Advogato: < http://advogato.org/person/criswell/ >