[SDL] Cannot include SDL properly

Anders A cartwright at linux.nu
Fri Jul 26 06:30:00 PDT 2002


try to run:

echo `sdl-config --libs` `sdl-config --cflags`

in bash and then copy n' paste whatever it outputs into the compiler options
field of KDevelop.

//Anders Å



----- Original Message -----
From: "Dinand Vanvelzen" <vanvelzen at skynet.be>
Newsgroups: loki.open-source.sdl
To: <sdl at libsdl.org>
Sent: Friday, July 26, 2002 2:50 PM
Subject: Re: [SDL] Cannot include SDL properly


> Clemens Kirchgatterer wrote:
>
> > Dinand Vanvelzen <vanvelzen at skynet.be> wrote:
> >
> >> Options was the configure tab at compiler options, there at the bottom
> >> was a input field called additional options. there i entered
> >>
> >> 'sdl-config --libs' 'sdl-config --cflags`
> >
> > try something like `sdl-config --libs` `sdl-config --cflags` instead.
> >                    ^                 ^ ^                   ^
> >
> > regards ...
> > clemens
>
> i used :
>
> `sdl-config --libs` `sdl-config --cflags`
>
> and got :
>
> Running configure in source directory
> configure: error: -L/usr/lib: invalid option; use --help to show usage
> *** failed ***
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>






More information about the SDL mailing list