[SDL] SDL fullscreen problem

cocobear cocobear.cn at gmail.com
Tue Sep 4 07:49:40 PDT 2007


于 Tue, 4 Sep 2007 16:40:39 +0200
Alberto Luaces <aluaces at udc.es> 写道:

> El Martes 04 Septiembre 2007 16:01, cocobear escribió:
> > I should use #include "SDL/SDL.h",because if I use "SDL.h",the GCC
> > could't find SDL.h
> > My SDL.h is in /usr/include/SDL/SDL.h
> 
> No, you should use "SDL.h" only, because "sdl-config --cflags" gives
> 
> -I/usr/include/SDL
> 
> so GCC can find the header. You should then compile so:
> 
> gcc myfile.c `sdl-config --cflags` -c


Oh,I know! Thanks a lot.
But my problem still not resolved.:-(


/*
 *Welcome to cocobear's home!
 *http://cocobear.cn
 */


More information about the SDL mailing list