[SDL] Cannot include SDL properly

Dinand Vanvelzen vanvelzen at skynet.be
Fri Jul 26 06:51:01 PDT 2002


Clemens Kirchgatterer wrote:

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

it adds them to the other compiler directives,.. so that seems to be fine.



More information about the SDL mailing list