[SDL] compiling problems with SDL.h

elhadj benkhelifa ebenkhelifa at yahoo.co.uk
Wed Dec 3 05:11:24 PST 2003


hi all, 

just another point: if you are working with QT
designer and SDL together on linux system. just add
this : -L/usr/lib -lSDL to the LIBS line in the
Makefile that you generated using the qmake.
hope that would help

cheers  

--- "ronap at inwind.it" <ronap at inwind.it> wrote: > 
> Hi all,
> 
> my compiling problem with SDL has been resolved. The
> correct command line is with BACKQUOTES and not
> quotes.
> 
> gcc -o myfirst myfirst.c 'sdl-config --cflags
> --libs'        WRONG sintax
> 
> gcc -o myfirst myfirst.c `sdl-config --cflags
> --libs`      CORRECT sintax
> 
> Jonathan Dowland, Jan Kratochvil, Sami Naatanen,
> John Bailo, Stephane Marchesin: thanks for your
> support.
> 
> Regards, Roberto
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ---------- Initial Header -----------
> 
> From      : sdl-admin at libsdl.org
> To          : sdl at libsdl.org
> Cc          :
> Date      : Mon, 01 Dec 2003 20:40:46 +0100
> Subject : Re: [SDL] compiling problems with SDL.h
> 
> 
> 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl 

________________________________________________________________________
Download Yahoo! Messenger now for a chance to win Live At Knebworth DVDs
http://www.yahoo.co.uk/robbiewilliams




More information about the SDL mailing list