Cannot open include file: 'inttypes.h'
来源:互联网 发布:最全的网络投资产品 编辑:程序博客网 时间:2024/04/30 11:00
来自:blog.sina.com.cn/s/blog_446cb53d010009mz.html
下载ffmpeg库的工程会发现提示: Cannot open include file: 'inttypes.h': No such file or directory 的出错信息,可通过如下方法解决:
1、找到include目录中的ffmpeg\common.h
2、在“#define COMMON_H”之后加入如下代码,同时删除“#include <inttypes.h>” 然后保存:
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__)
# define CONFIG_WIN32
#endif
#if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(EMULATE_INTTYPES)
# define EMULATE_INTTYPES
#endif
#ifndef EMULATE_INTTYPES
# include <inttypes.h>
#else
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
# ifdef CONFIG_WIN32
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
# else /* other OS */
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
# endif /* other OS */
#endif /* EMULATE_INTTYPES */
- Cannot open include file: 'inttypes.h'
- cannot open include file'inttypes.h'
- Cannot open include file: 'inttypes.h': No such file or directory
- Cannot open include file: 'inttypes.h': No such file or directory
- Cannot open include file: 'Ras.h'
- Cannot open include file: 'targetver.h'
- Cannot open include file: 'd3dx9.h' 错误
- Cannot open include file: 'Interfaces/IImageWrapper.h'
- Cannot open include file: 'usb100.h': No such file [解决方法]
- Cannot open include file: 'iostream.h'错误解决方法
- WDK cannot open include file ntddk.h 问题解决
- c:\.....fatal error RC1015 : cannot open include file 'dlgs.h'
- cannot open include file"afxres.h" 的解答
- error RC1015: cannot open include file 'atlres.h'问题解决
- cocos2d-x 新建项目 Cannot open include file: 'cocos2d.h'
- fatal error RC1015: cannot open include file 'resource.h'.
- fatal error C1083: Cannot open include file: 'qwtplot.h':
- error RC1015: cannot open include file 'sal.h'.
- shell if 命令参数和比较字符写法
- 初学Git
- PM俱乐部建设之旅7-虚弱的活着
- 电脑文件夹加密
- Linux命令——sed的使用
- Cannot open include file: 'inttypes.h'
- linux下安装loadrunner步骤以及出错解决方法(外加linux下ip地址欺骗)
- MySQL 数据类型 详解
- android源码开发基础知识了解
- Myeclipse10下搭建SSH框架(图解)Struts2.1+Spring3.0+Hibernate3.3
- MySQL并发处理
- 数据库基础
- windows 下字节对齐 sizeof
- Struts 1.x常见错误的全面汇总