-
assigned issue to
Building FFmpeg fails because of X265 :(
Issue #356
new
In the file /source/x265.h, the following include seems to be unknown (to MingW at least) :
#include <cstdio>
This triggers the compiler during building ffmpeg because the compiler can not find cstdio Look below to the config.log from ffmpeg :
use_pkg_config x265 x265.h x265_api_get
check_pkg_config x265 x265.h x265_api_get
pkg-config --exists --print-errors x265
check_func_headers x265.h x265_api_get -LK:/Mingw642/local32/lib -lx265 -lstdc++ -lmingwthrd -lmingw32 -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lmingw32 -lmoldname -lmsvcrt
check_ld cc -LK:/Mingw642/local32/lib -lx265 -lstdc++ -lmingwthrd -lmingw32 -lmoldname -lmsvcrt -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingwthrd -lmingw32 -lmoldname -lmsvcrt
check_cc -LK:/Mingw642/local32/lib
BEGIN /tmp/ffconf.gOU19zAR/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.gOU19zAR/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_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DOPJ_STATIC -mthreads -O3 -pipe -DCACA_STATIC -DKVZ_STATIC_LIB -DLIBTWOLAME_STATIC -DMODPLUG_STATIC -DPTW32_STATIC_LIB -DZMQ_STATIC -fno-tree-vectorize -fopenmp -msse4.2 -mstackrealign -Wno-deprecated-declarations -Wno-incompatible-pointer-types -Wno-redundant-decls -std=c11 -fomit-frame-pointer -pthread -IK:/Mingw642/local32/include/harfbuzz -I/local32/include/freetype2 -I/mingw32/include/libpng16 -IK:/Mingw642/local32/include/fribidi -IK:/Mingw642/local32/include/freetype2 -IK:/Mingw642/msys64/mingw32/include/libpng16 -IK:/Mingw642/local32/include/bs2b -DCACA_STATIC -I/local32/include/freetype2 -I/mingw32/include/libpng16 -IK:/Mingw642/local32/include/freetype2 -IK:/Mingw642/msys64/mingw32/include/libpng16 -IK:/Mingw642/local32/include/freetype2 -IK:/Mingw642/msys64/mingw32/include/libpng16 -IK:/Mingw642/local32/include/fribidi -IK:/Mingw642/msys64/mingw32/include/libmodplug -IK:/Mingw642/local32/include/opus -IK:/Mingw642/local32/include/opus -IK:/Mingw642/local32/include/rubberband -LK:/Mingw642/local32/lib -c -o /tmp/ffconf.gOU19zAR/test.o /tmp/ffconf.gOU19zAR/test.c
In file included from F:/TEMP/TEMP/Mingw642/tmp/ffconf.gOU19zAR/test.c:1:0:
K:/Mingw642/local32/include/x265.h:29:18: fatal error: cstdio: No such file or directory
#include <cstdio>
^
compilation terminated. ERROR: x265 not found using pkg-config
Comments (3)
-
Account Deactivated -
Account Deactivated Thanks for the report - we will look into this immediately.
-
Fix patch for this issue is pushed into the repository. Please test it. Thanks!
- Log in to comment