I'm trying to compile libreELEC 8.0.0 and I'm always getting compilation errors.
I tried to compile libreELEC on LinuxMint 17.3, LinuxMint 18 and Ubuntu Server 16.10 and the compilation process always fails on libcec compilation.
I have checked out tag 8.0.0.
Compilation errors
Problem Compiling LibreELEC 8.0.0
-
iivailo -
February 27, 2017 at 6:54 PM -
Thread is Unresolved
-
-
How did you clone LibreElec repository (git clone)?
-
First i cloned the repo using git clone. Then I checked out the libreelec-8.0 branch executing: git checkout libreelec-8.0. And then I moved the head to tag 8.0.0 with the command: git checkout tags/8.0.0
-
-
- Official Post
I build official images on Ubuntu 16.04. In theory it should work on other versions/distros, but as long as it works on 16.04 myself and others on staff never look any further at compatibility.
-
I cloned the repo again and reset to tag 8.0.0, now the compilation error in libcec is gone, but I get another error:
Code
Display MoreCould NOT find VAAPI (missing: VAAPI_libva_LIBRARY VAAPI_libva-x11_LIBRARY VAAPI_INCLUDE_DIR) (Required is at least version "0.38.0") Call Stack (most recent call first): /media/Data/LibreELEC.tv/build.LibreELEC-RPi2.arm-8.0.0/toolchain/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) modules/FindVAAPI.cmake:41 (find_package_handle_standard_args) scripts/common/Macros.cmake:399 (find_package) CMakeLists.txt:144 (core_optional_dep) -- Configuring incomplete, errors occurred!
-
Are you by any chance building as root? If you do then don't.
Other clues I don't have
-
No, I'm not building as root.
-
The problem was in my old options file in the home folder. After I replaced the file with the new options file and made my changes in the new file the problem disappeared.