config.log 如下:不知道怎么弄了,望大牛指导
usr/local/include/x264.h:40:4: warning: #warning You must include stdint.h or inttypes.h before x264.h [-Wcpp]
# warning You must include stdint.h or inttypes.h before x264.h
^~~~~~~
/tmp/ffconf.hRcv9aEw/test.c:3:2: error: #error "unsatisfied condition: X264_MPEG2"
#error "unsatisfied condition: X264_MPEG2"
^~~~~
require_pkg_config libx265 x265 x265.h x265_api_get
check_pkg_config libx265 x265 x265.h x265_api_get
test_pkg_config libx265 x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -I/usr/local/include -L/usr/local/lib -lx265
test_ld cc -I/usr/local/include -L/usr/local/lib -lx265
test_cc -I/usr/local/include -L/usr/local/lib
BEGIN /tmp/ffconf.hRcv9aEw/test.c
1 #include
2 #include
3 long check_x265_api_get(void) { return (long) x265_api_get; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_x265_api_get) & 0xFFFF;
6 return ret; }
END /tmp/ffconf.hRcv9aEw/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fPIC -pthread -I/usr/local/include -I/usr/local/include -L/usr/local/lib -c -o /tmp/ffconf.hRcv9aEw/test.o /tmp/ffconf.hRcv9aEw/test.c
In file included from /tmp/ffconf.hRcv9aEw/test.c:1:0:
/usr/local/include/x265.h:673:5: error: unknown type name 'x265_param'
x265_param* zoneParam;
^~~~~~~~~~
ERROR: x265 not found using pkg-config