编译ffmpeg --enable-libx265,configure 时出现错误:
ERROR: x265 not found using pkg-config
查看config.log,错误详情如下:
/usr/local/include/x265.h:104:5: error: unknown type n/usr/local/include/x265.hame 'bool'
bool bScenecut;
^
ERROR: x265 not found using pkg-config
查找资料:
http://blog.csdn.net/liuqiqi677/article/details/6703615
解决方法:
在/usr/local/include/x265.h中加上头文件 #include <stdbool.h>
编译通过