p8-platform missing
#1
Hi forum,

since December I got some issues compiling pvr.hts on the Raspberry Pi 2. Cmake simply cannot find the p8-platform and stops the build. I tested everything with the commands provided at github:
Code:
cd pvr.hts && mkdir build && cd build
cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make
but end up in the following error:
Code:
CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Findp8-platform.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "p8-platform", but CMake did not find one.

  Could not find a package configuration file provided by "p8-platform" with
  any of the following names:

    p8-platformConfig.cmake
    p8-platform-config.cmake

  Add the installation prefix of "p8-platform" to CMAKE_PREFIX_PATH or set
  "p8-platform_DIR" to a directory containing one of the above files.  If
  "p8-platform" provides a separate development package or SDK, be sure it
  has been installed.
The Kodi build I use is the 16.0 branch (double checked that), last pulled last week. I also had the issues with the Kodi RCs and some betas. I stumbled over p8-platform when I was looking for libcec, so I want to add here that I compiled kodi without libcec support.

Does anyone has a clue what I can do to get pvr.hts compiled?

Best regards and thanks in advance,

Marshell
Reply
#2
try this after compiling kodi, inside the kodi src tree:
Code:
mkdir binaddons && cd binaddons
cmake -DADDONS_TO_BUILD=pvr.hts  project/cmake/addons
make -j4
Reply
#3
Hi wsnipex,

that seems to go further than my approach. Thanks a lot! But... I used:
Code:
cmake -DADDONS_TO_BUILD=pvr.hts ../project/cmake/addons
However:
Code:
CMake Error at /home/pi/build/xbmc/binaddons/build/depends/lib/kodi/addon-helpers.cmake:128 (message):
  CMAKE_INSTALL_PREFIX /home/pi/build/xbmc/binaddons/.install differs from
  Kodi prefix /usr/local.  Please pass -DOVERRIDE_PATHS=1 to skip this check
Call Stack (most recent call first):
  CMakeLists.txt:103 (build_addon)
I tried -DCMAKE_INSTALL_PREFIX=/usr/local as well as -DOVERRIDE_PATHS=1 , but neither of them got through. The error stays the same. I hope you don't mind if I ask again if you have an idea how to fix this one?

Best regards,

Marshell
Reply

Logout Mark Read Team Forum Stats Members Help
p8-platform missing0