Hello everybody,
I am trying to use “Anjuta” IDE with the SDL Library, but it find the next
errors:
gcc -Wall -g ‘sdl-config --cflags? ?sdl-config --libs? -c
"ppal.c" -o "ppal.o"
gcc: ‘sdl-config error…
cc1: error "-fcflags’"
cc1: error "-flibs’"
I?ve configured the environment ( SDL_mixer,SDL_image y SDL_ttf libraries
added), and I?ve
set in the text box FLAGS: “?sdl-config --cflags?
?sdl-config --libs?”
Thank you very much
Yours truly,
Daniel Leyva_________________________________________________________________
Descubre la descarga digital con MSN Music. M?s de un mill?n de canciones.
http://music.msn.es/
Don’t use plain apostrophe (’), use backticks instead (`), and it should solve
your problem.
Berislav KovackiOn Tuesday 17 October 2006 13:00, daniel daniel wrote:
I?ve configured the environment ( SDL_mixer,SDL_image y SDL_ttf libraries
added), and I?ve
set in the text box FLAGS: “‘sdl-config --cflags’
‘sdl-config --libs’”
–
http://blog.pantokrator.net/
Hi,
At gcc command line you need explicit the libraries:
-lSDL -lSDL_ttf -lSDL_image -lSDL_mixer
try with it when gcc link.
Dont forgot, if you are compiling c++, use g++.
Regards,
R?benOn 10/17/06, Berislav Kovacki wrote:
On Tuesday 17 October 2006 13:00, daniel daniel wrote:
I?ve configured the environment ( SDL_mixer,SDL_image y SDL_ttf libraries
added), and I?ve
set in the text box FLAGS: “‘sdl-config --cflags’
‘sdl-config --libs’”
Don’t use plain apostrophe (’), use backticks instead (`), and it should solve
your problem.
Berislav Kovacki
–
http://blog.pantokrator.net/
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Thank you very much Berislav.
I will try it. Tomorrow I will say to you if it works ( I haven?t internet
at home )
Yours truly,
Daniel Leyva
(Spain)>From: Berislav Kovacki
Reply-To: “A list for developers using the SDL library.
(includesSDL-announce)”
To: "A list for developers using the SDL library. (includes
SDL-announce)"
Subject: Re: [SDL] anjuta_and_sdl
Date: Tue, 17 Oct 2006 13:28:39 +0200
On Tuesday 17 October 2006 13:00, daniel daniel wrote:
I?ve configured the environment ( SDL_mixer,SDL_image y SDL_ttf
libraries
added), and I?ve
set in the text box FLAGS: “‘sdl-config --cflags’
‘sdl-config --libs’”
Don’t use plain apostrophe (’), use backticks instead (`), and it should
solve
your problem.
Berislav Kovacki
–
http://blog.pantokrator.net/
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Moda para esta temporada. Ponte al d?a de todas las tendencias.
http://www.msn.es/Mujer/moda/default.asp