[SDL] compiling problems with SDL.h

ronap at inwind.it ronap at inwind.it
Fri Nov 28 11:55:01 PST 2003


---------- Initial Header -----------

>From      : sdl-admin at libsdl.org
To          : "sdl" sdl at libsdl.org
Cc          : 
Date      : Fri, 28 Nov 2003 13:46:45 +0100 (CET)
Subject : Re: [SDL] compiling problems with SDL.h

Hi, Hok

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

I have used:

gcc -o myfirst myfirst.c `sdl-config --cflags` `sdl-config --libs` 

and I have added export PATH=$PATH:/usr/local/bin 
in /home/roberto/.bashrc

Besides, I have finded other library SDL in my mpeg4ip project and I have renamed the file config.cache in config.cache-old in SDL directory ($ locate config.cache return /home/projects/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 directory
SDL.h no such file  or directory
SDL_INIT_VIDEO undeclared
SDL_INIT_AUDIO undeclared 

How I compile my files?

Kinds regards, Roberto

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





More information about the SDL mailing list