Commit 091f072 breaks ffmpeg with x264 support

Issue #400 resolved
Former user created an issue

With commit 091f072 the build with ffmpeg breaks.

BEGIN /tmp/ffconf.KBrt3sB6/test.c 1 #include <x265.h> 2 #include <stdint.h> 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.KBrt3sB6/test.c gcc -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=gnu_printf -D_WIN32_WINNT=0x0600 -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DOPJ_STATIC -mthreads -pipe -fopenmp -DLIBTWOLAME_STATIC -DLIBSSH_STATIC -DMODPLUG_STATIC -DKVZ_STATIC_LIB -std=c11 -fomit-frame-pointer -pthread -IE:/User/autobuild_suite/local64/include/harfbuzz -IE:/User/autobuild_suite/local64/include/freetype2 -IE:/User/autobuild_suite/local64/include/fribidi -IE:/User/autobuild_suite/local64/include/freetype2 -IE:/User/autobuild_suite/local64/include/bs2b -IE:/User/autobuild_suite/local64/include/freetype2 -IE:/User/autobuild_suite/local64/include/freetype2 -IE:/User/autobuild_suite/local64/include/fribidi -IE:/User/autobuild_suite/msys64/mingw64/include/libmodplug -IE:/User/autobuild_suite/msys64/mingw64/include/openjpeg-2.3 -IE:/User/autobuild_suite/local64/include/opus -IE:/User/autobuild_suite/local64/include/opus -IE:/User/autobuild_suite/local64/include/rubberband -IE:/User/autobuild_suite/local64/include/tesseract -IE:/User/autobuild_suite/local64/include/leptonica -LE:/User/autobuild_suite/local64/lib -c -o /tmp/ffconf.KBrt3sB6/test.o /tmp/ffconf.KBrt3sB6/test.c In file included from E:/User/autobuild_suite/msys64/tmp/ffconf.KBrt3sB6/test.c:1:0: E:/User/autobuild_suite/local64/include/x265.h:639:5: error: unknown type name 'bool' bool bEnableavx512; ^~~~ E:/User/autobuild_suite/msys64/tmp/ffconf.KBrt3sB6/test.c: In function 'check_x265_api_get': E:/User/autobuild_suite/msys64/tmp/ffconf.KBrt3sB6/test.c:3:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] long check_x265_api_get(void) { return (long) x265_api_get; } ^ ERROR: x265 not found using pkg-config

Comments (3)

  1. Log in to comment