Following the instructions at https://trac.handbrake.fr/wiki/CompileOnWindows I have successfully compiled the nightly handbrakecli.exe and the hb.dll in Ubuntu 14.04 to use on my main Windows system to add back in the FDK audio support. The last time I successfully did this was back in April.
I decided to go ahead and recompile a new nightly but am now running into some errors very early in the process. I am using the standard Ubuntu 14.04 as recommended in the above link. Everything is pretty much vanilla other then running the Ubuntu software updater.
Here is the terminal window information:
Code: Select all
xxxx@xxxxpc2016:~$ x86_64-w64-mingw32-gcc -v
Using built-in specs.
COLLECT_GCC=x86_64-w64-mingw32-gcc
COLLECT_LTO_WRAPPER=/home/matt/mingw/bin/../libexec/gcc/x86_64-w64-mingw32/4.9.0/lto-wrapper
Target: x86_64-w64-mingw32
Configured with: ../../../build/gcc/src/configure --target=x86_64-w64-mingw32 --prefix=/home/mingw-w64/mingw-w64/linux-x86_64-x86_64/build/build/root --with-sysroot=/home/mingw-w64/mingw-w64/linux-x86_64-x86_64/build/build/root --with-gnu-ld --with-gnu-as --enable-fully-dynamic-string --disable-multilib
Thread model: win32
gcc version 4.9.0 20131228 (experimental) (GCC)
xxxx@xxxxpc2016:~$ git clone https://github.com/HandBrake/HandBrake.git
Cloning into 'HandBrake'...
remote: Counting objects: 65448, done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 65448 (delta 13), reused 0 (delta 0), pack-reused 65415
Receiving objects: 100% (65448/65448), 66.59 MiB | 15.47 MiB/s, done.
Resolving deltas: 100% (49260/49260), done.
Checking connectivity... done.
xxxx@xxxxpc2016:~$ cd HandBrake
xxxx@xxxxpc2016:~/HandBrake$ ./configure --cross=x86_64-w64-mingw32 --enable-x265 --enable-qsv --enable-hwd --enable-fdk --launch-jobs=1 --launch
probe: host tuple...(pass) x86_64-unknown-linux-gnu
compute: available architectures...(pass) x86_64
find: ar...(pass) /usr/bin/ar
find: cp...(pass) /bin/cp
find: gcc...(pass) /usr/bin/gcc
find: gmake...(pass) /usr/bin/make
find: gm4...(pass) /usr/bin/m4
find: mkdir...(pass) /bin/mkdir
find: gpatch...(pass) /usr/bin/patch
find: rm...(pass) /bin/rm
find: ranlib...(pass) /usr/bin/ranlib
find: strip...(pass) /usr/bin/strip
find: gtar...(pass) /bin/tar
find: yasm...(pass) /usr/bin/yasm
find: autoconf...(pass) /usr/bin/autoconf
find: automake...(pass) /usr/bin/automake
find: cmake...(pass) /usr/bin/cmake
find: libtool...(pass) /usr/bin/libtool
find: pkg-config...(pass) /usr/bin/pkg-config
find: xcodebuild...(fail) not found
find: lipo...(fail) not found
Usage: configure.py [OPTIONS...] [TARGETS...]
configure.py: error: no such option: --enable-hwd
xxxx@xxxxpc2016:~/HandBrake$
Any help would be appreciated.