I am having issues with building OpenPHT1.6 on Ubuntu 14.04. Here are the commands I am using:
Update cmake on Ubuntu 14.04 as OpenPHT 1.6 needs cmake 3.1 or higher:
sudo add-apt-repository ppa:george-edison55/cmake-3.x
sudo apt-get update && sudo apt-get dist-update
cd ~
wget https://github.com/RasPlex/OpenPHT/archive/v1.6.0.113-46fadd5e.tar.gz
tar -xvzf v1.6.0.113-46fadd5e.tar.gz
mkdir ~/openpht-build
cd ~/openpht-build
cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPRESS_TEXTURES=on -DENABLE_AUTOUPDATE=off -DCMAKE_INSTALL_PREFIX=/opt/openpht "~/OpenPHT-1.6.0.113-46fadd5e"
make => this gives me an error!
It seems the "make" fails during the ffmpeg build. First it was complaining about unknown options. I have identified the following unknown options:
"--disable-iwmmxt", "--disable-libdirac", --disable-mlib", "--disable-sram", "--disable-vis", "--enable-aandct", "--enable-fastdiv", "--enable-golomb", "--enable-huffman", "--enable-lpc".
I have edited the ./lib/ffmpeg/CMakeLists.txt file to remove the unknown options. Now I get the following error during "make":
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
make[2]: *** [lib/ffmpeg/ffmpeg/src/ffmpeg-stamp/ffmpeg-configure] Error 1
make[1]: *** [lib/ffmpeg/CMakeFiles/ffmpeg.dir/all] Error 2
make: *** [all] Error
Any ideas?