I'm running Debian Testing and recently I am not able to compile Handbrake from source.
I'm sure this is due to a change that was made upstream for encx264 but I have no idea how to get this working again with Handbrake.
Steps to reproduce the problem (If Applicable):
Run through the instructions to compile
HandBrake version (e.g., 1.0.0):
1.0.7
Operating system and version (e.g., Ubuntu 16.04 LTS, macOS 10.13 High Sierra, Windows 10 Creators Update):
Debian Testing
$ uname -a
Linux kavern 4.15.0-2-amd64 #1 SMP Debian 4.15.11-1 (2018-03-20) x86_64 GNU/Linux
Code: Select all
In file included from ../libhb/encx264.h:14:0,
from ../libhb/encx264.c:14:
../libhb/h264_common.h:16:21: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
static const int const hb_h264_level_values[] = { -1, 10, 9, 11, 12, 13, 20, 21, 22, 30, 31, 32, 40, 41, 42, 50, 51, 52, 0, };
^~~~~
../libhb/encx264.c: In function ‘hb_x264_global_init’:
../libhb/encx264.c:154:46: error: ‘x264_bit_depth’ undeclared (first use in this function); did you mean ‘x264_lib_open’?
x264_apis[0].bit_depth = x264_bit_depth;
^~~~~~~~~~~~~~
x264_lib_open
../libhb/encx264.c:154:46: note: each undeclared identifier is reported only once for each function it appears in
../libhb/module.rules:12: recipe for target 'libhb/encx264.o' failed
make: *** [libhb/encx264.o] Error 1