Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7772 closed defect (needs_more_info)

Configure failure

Reported by: kliff Owned by:
Priority: normal Component: build system
Version: git-master Keywords: libx265
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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 -DUSE_MINGW_ANSI_STDIO=1 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -USTRICT_ANSI -DUSE_MINGW_ANSI_STDIO=1 -Dprintf=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);


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

Attachments (1)

config.log (568.1 KB ) - added by kliff 5 years ago.
configure log

Download all attachments as: .zip

Change History (7)

by kliff, 5 years ago

Attachment: config.log added

configure log

comment:1 by Carl Eugen Hoyos, 5 years ago

Do you think this is a regression?
Is the issue reproducible with ./configure --enable-gpl --enable-libx265?

comment:2 by kliff, 5 years ago

Yes, this issue reproducible with ./configure --enable-gpl --enable-libx265

comment:3 by Carl Eugen Hoyos, 5 years ago

Priority: importantnormal

comment:4 by Carl Eugen Hoyos, 5 years ago

Keywords: libx265 added; configure removed

comment:5 by kliff, 5 years ago

Resolution: fixed
Status: newclosed

comment:6 by Carl Eugen Hoyos, 5 years ago

Resolution: fixedneeds_more_info
Note: See TracTickets for help on using tickets.