No subject


Wed Jan 24 21:54:03 PST 2007


To          : "sdl" sdl at libsdl.org
Cc          : 
Date      : Fri, 28=
 Nov 2003 13:46:45 +0100 (CET)
Subject : Re: [SDL] compiling problems wi=
th SDL.h

Hi, Hok

> try gcc -o a a.c `sdl-config --cflags` `sdl-conf=
ig --libs` 

I have used:

gcc -o myfirst myfirst.c `sdl-config --cfl=
ags` `sdl-config --libs` 

and I have added export PATH=3D$PATH:/usr/lo=
cal/bin 
in /home/roberto/.bashrc

Besides, I have finded other librar=
y SDL in my mpeg4ip project and I have renamed the file config.cache in c=
onfig.cache-old in SDL directory ($ locate config.cache return /home/proj=
ects/SDL-1.2.6/config.cache)

but compiler's answere is:

sdl-config =
--cflags no such file or directory
sdl-config --libs no such file or dir=
ectory
SDL.h no such file  or directory
SDL_INIT_VIDEO undeclared
SDL_=
INIT_AUDIO undeclared 

How I compile my files?

Kinds regards, Rober=
to

_______________________________________________
> SDL mailing list=

> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
> 





More information about the SDL mailing list