-
Notifications
You must be signed in to change notification settings - Fork 48
Compiling libcec
Michaël Arnauts edited this page Apr 17, 2019
·
2 revisions
For installation on a Raspberry Pi with OSMC. Tested on version 2018.07.
# install dependencies
apt-get update
apt-get install git cmake build-essential python3-pkgconfig swig3.0 rbp-userland-dev-osmc libudev-dev
# platform
cd /usr/src/
git clone https://github.com/Pulse-Eight/platform.git
mkdir -p platform/build && cd platform/build
cmake ..
make -j4
sudo make install
sudo ldconfig
# libcec
cd /usr/src/
git clone https://github.com/Pulse-Eight/libcec.git
mkdir -p libcec/build && cd libcec/build
cmake -DRPI_INCLUDE_DIR=/opt/vc/include -DRPI_LIB_DIR=/opt/vc/lib ..
make -j4
sudo make install
sudo ldconfig
For installation on a Vero4K+ with OSMC. Tested on version 2019.04.
# install dependencies
apt-get update
apt-get install git cmake build-essential python3-pkgconfig swig3.0 libudev-dev swig python3-dev
# platform
cd /usr/src/
git clone https://github.com/Pulse-Eight/platform.git
mkdir -p platform/build && cd platform/build/
cmake ..
make -j4
sudo make install
sudo ldconfig
# libcec
cd /usr/src/
git clone https://github.com/Pulse-Eight/libcec.git
mkdir -p libcec/build && cd libcec/build/
cmake -DHAVE_AOCEC_API=1 ..
make -j4
sudo make install
sudo ldconfig