根据SDK开发文档上的,我要把帧通到屏幕上去
初始化SDL库
/**************************************************/
if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER))
{
fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError());
exit(1);
}
/**************************************************/
编译没通过,报错如下
错误 1 error C1189: #error : You should copy include/SDL_config.h.default to include/SDL_config.h c:\msys\1.0\include\sdl\sdl_config.h
然后打开SDL_config.h ,里面有一句
#ifdef _MSC_VER
#error You should copy include/SDL_config.h.default to include/SDL_config.h
#endif