vc编译ffmpeg遇到问题(inttypes.h和UINT64_C问题)
来源:互联网 发布:linux io重定向 编辑:程序博客网 时间:2024/06/08 12:14
vc编译ffmpeg问题集
解决:Cannot open include file:\’inttypes.h\’
更新ffmpeg之后,有时编译应用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!defined!defined
#define CONFIG_WIN32
#endif
#if defined!defined!defined!defined
#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/
解决error C3861:\’UINT64_C\’:identifier not found
#ifndef INT64_C
#define INT64_C
#define UINT64_C
#endif
作者:网络小虫发表于2010-12-03 00:20原文链接
- vc编译ffmpeg遇到问题(inttypes.h和UINT64_C问题)
- ffmpeg遇到inttypes.h和UINT64_C
- ffmpeg遇到inttypes.h和UINT64_C
- x264和FFMPEG 编译后遇到的一些问题:UINT64_C,
- x264和FFMPEG 编译后遇到的一些问题:UINT64_C,
- x264和FFMPEG 编译后遇到的一些问题:UINT64_C,
- 【ffmpeg + VS2010】编译包含libavutil\common.h后出现找不到inttypes.h的问题
- 【ffmpeg + VS2010】编译包含libavutil\common.h后出现找不到inttypes.h的问题
- 【ffmpeg + VS2010】编译包含libavutil\common.h后出现找不到inttypes.h的问题
- ffmpeg的UINT64_C 问题
- 修改vc编译器不支持stdint.h、inttypes.h的问题
- 在vs2008下使用ffmpeg(1):inttypes.h的问题
- 在vs2008下使用ffmpeg(1):inttypes.h的问题
- vs2008 下编译ffmpeg,找不到inttypes.h和stdint.h,将这两个源码贴上
- 编译ffmpeg遇到的问题
- vc 编译ffmpeg问题集
- VC+ FFMPEG 编译问题 收集
- 修改vs2010编译器不支持inttypes.h的问题
- (Realx 数论1.28)POJ 2282 The Counting Problem(区间统计数字:统计a、b之间各个数字(0~9)出现的次数)
- UVA 111 LCS
- 如何实现十进制转换为二进制
- python的nltk中文使用和学习资料汇总帮你入门提高
- 线程的同步与互斥
- vc编译ffmpeg遇到问题(inttypes.h和UINT64_C问题)
- nlp, ml, 学习书单
- mysql触发器
- 嵌入式学习——LINUX的基本知识 的基本知识【2】
- .h和.cpp文件的区别
- 【ExtJs】ExtJs下gridpanel中ComboBox数据动态加载问题
- 第十三周 fib数的输出
- 又醉了
- 手把手教你mysql(八)合并记录和别名