Closed fu2re closed 5 years ago
Get libcec 3.1.0 here: https://github.com/Pulse-Eight/libcec/releases Built it using this manual: https://github.com/Pulse-Eight/libcec/blob/master/docs/README.linux.md
Then clone openPHT somewhere:
git clone https://github.com/RasPlex/OpenPHT.git ~/Downloads/OpenPHT
mkdir ~/Downloads/OpenPHT/build
cd ~/Downloads/OpenPHT/build
cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPRESS_TEXTURES=on -DENABLE_AUTOUPDATE=off -DCMAKE_INSTALL_PREFIX=/opt/openpht -DENABLE_CEC=on ..
make
sudo make install
make clean
cd /opt/openpht/bin
./openpht
Checked the following lines in the output before make
-- Checking for module 'libcec>=2.0'
-- Found libcec, version 3.1.0
-- Found CEC: /usr/local/lib/libcec.so
And still nothing
Solution:
ln -s /usr/local/lib/libcec.so.3.1.0 /opt/openpht/bin/libcec.so.3.1.0
ubuntu 17.10 openpht 1.8.0.0 libcec 3.10 from sources/deb
has a problem with libcec. It does not work, but it works fine at windows (now I am trying to install ubuntu at the same machine - so hardware is 100% ok) periphery section is disabled in the input settings and pop-up notification about cec device is not being showed at startup.
build was done with the following options:
cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPRESS_TEXTURES=on -DENABLE_AUTOUPDATE=off -DCMAKE_INSTALL_PREFIX=/opt/openpht "~/openpht-src"
device is ok: