SDL和FFMPEG的搭配(变量冲突)

材料:SDL dll include files and FFMPEG dll include files

发现的问题是:error C2371: 'int8_t' : redefinition; different basic types 等等

原因 在FFMPEG的stdint.h 和 SDL SDL_config_win32.h中对int8_t等符号重定义

注释掉SDL_config_win32.h中 有关变量的定义。 但是有些文件中的int8_t就没定义了。包含进stdint.h

 

转自:http://blog.csdn.net/loving_handi/archive/2009/12/16/5018876.aspx

你可能感兴趣的:(职场,sdl,重定义,休闲,int8_t)