[FFmpeg-trac] #7772(build system:new): Configure failure

FFmpeg trac at avcodec.org
Tue Mar 5 19:35:23 EET 2019


#7772: Configure failure
-------------------------------------+-------------------------------------
             Reporter:  kliffgomel   |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  build        |                  Version:  git-
  system                             |  master
             Keywords:  configure    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Configure failure on check_func_headers x265.h x265_api_get:

 check_func_headers x265.h x265_api_get -LD:/ffmpeg-autobuild/local64/lib
 -lx265 -lstdc++ -lgcc
 test_ld cc -LD:/ffmpeg-autobuild/local64/lib -lx265 -lstdc++ -lgcc
 test_cc -LD:/ffmpeg-autobuild/local64/lib
 BEGIN /tmp/ffconf.lirNJCBB/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.lirNJCBB/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
 -mtune=generic -O2 -pipe -DLIBTWOLAME_STATIC -DLIBXML_STATIC
 -DKVZ_STATIC_LIB -IC:/PROGRA~1/NVIDIA~2/CUDA/v10.1/include -std=c11
 -fomit-frame-pointer -ID:/ffmpeg-autobuild/local64/include/harfbuzz -ID
 :/ffmpeg-autobuild/local64/include/freetype2 -ID:/ffmpeg-
 autobuild/local64/include/fribidi -ID:/ffmpeg-
 autobuild/local64/include/freetype2 -DLIBXML_STATIC -ID:/ffmpeg-
 autobuild/msys64/mingw64/include/libxml2 -ID:/ffmpeg-
 autobuild/local64/include/freetype2 -ID:/ffmpeg-
 autobuild/local64/include/freetype2 -ID:/ffmpeg-
 autobuild/local64/include/fribidi -ID:/ffmpeg-
 autobuild/msys64/mingw64/include/openjpeg-2.3 -ID:/ffmpeg-
 autobuild/local64/include/opus -ID:/ffmpeg-autobuild/local64/include/opus
 -LD:/ffmpeg-autobuild/local64/lib -c -o /tmp/ffconf.lirNJCBB/test.o
 /tmp/ffconf.lirNJCBB/test.c
 In file included from D:/ffmpeg-
 autobuild/msys64/tmp/ffconf.lirNJCBB/test.c:1:
 D:/ffmpeg-autobuild/local64/include/x265.h:1801:43: error: unknown type
 name 'bool'; did you mean '_Bool'?
  x265_zone *x265_zone_alloc(int zoneCount, bool isZoneFile);
                                            ^~~~
                                            _Bool
 D:/ffmpeg-autobuild/msys64/tmp/ffconf.lirNJCBB/test.c: In function
 'check_x265_api_get':
 D:/ffmpeg-autobuild/msys64/tmp/ffconf.lirNJCBB/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

 ffmpeg version git-master db332832a17c6da68067869da815dfcef174dca3
 built on windows 10 with mingw64 gcc 8.3.0 rev 1

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7772>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list