ffmpeg库编译时提示错误C1189    #error:  missing -D__STDC_CONSTANT_MACROS / #define


在common.h头文件添加如下内容即可解决

#ifdef __cplusplus
#define __STDC_CONSTANT_MACROS
#ifdef _STDINT_H
#undef _STDINT_H
#endif
# include "stdint.h"

#endif


如图:

ffmpeg库编译时提示common.h文件错误C1189	#error: missing -D__STDC_CONSTANT_MACROS / #define




相关文章:

  • 2022-12-23
  • 2021-10-11
  • 2021-09-16
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-12-23
猜你喜欢
  • 2021-05-08
  • 2021-11-05
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
相关资源
相似解决方案