[SDL] Cannot include SDL properly

Clemens Kirchgatterer clemens at thf.ath.cx
Fri Jul 26 06:21:01 PDT 2002


Dinand Vanvelzen <vanvelzen at skynet.be> wrote:

> Clemens Kirchgatterer wrote:

> > 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

i dunno anything about kdevelope, so i can only say this:

on compile stage you should add `sdl-config --cflags` to the gcc options
and on linking `sdl-config --libs` should be added to the linker
options.

you have to find out, what kdevelope really does with your additional
options ...




More information about the SDL mailing list