commit 631fe67 break ffmpeg detection of x265:

Issue #246 resolved
rossi mario created an issue

https://bitbucket.org/multicoreware/x265/commits/7ede72109f16d0df227d44f1ab1aef368628bab0

break ffmpeg detection of x265. ffmeg config log:

#!
check_pkg_config x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -lx265
check_ld cc -lx265
check_cc
BEGIN /tmp/ffconf.XvKDHwTx.c
    1   #include <x265.h>
    2   long check_x265_api_get(void) { return (long) x265_api_get; }
    3   int main(void) { return 0; }
END /tmp/ffconf.XvKDHwTx.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -I../static/include -g -O2 -march=native -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c99 -fomit-frame-pointer -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/p11-kit-1 -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -I/home/mc/develop-deb/ffmpeg-git/ffmpeg2/static/include -c -o /tmp/ffconf.2DUMU6LK.o /tmp/ffconf.XvKDHwTx.c
In file included from /tmp/ffconf.XvKDHwTx.c:1:0:
/usr/include/x265.h:400:18: error: expected ':', ',', ';', '}' or '__attribute__' before '{' token
     void clear() {
                  ^
ERROR: x265 not found using pkg-config

Comments (3)

  1. Former user Account Deleted

    Also seeing this here, cross-compiling from GNU/Linux with gcc-5.3.0 to mingw-w64 (latest git). Identical error after the same commit.

  2. Log in to comment