Linux Debian - unable to build kod-platform. "platform" package?
#1
Hi,

Code:
CMake Error at CMakeLists.txt:11 (find_package):
  By not providing "Findplatform.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "platform",
  but CMake did not find one.

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

    platformConfig.cmake
    platform-config.cmake

  Add the installation prefix of "platform" to CMAKE_PREFIX_PATH or set
  "platform_DIR" to a directory containing one of the above files.  If
  "platform" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/michal/xbmc/xbmc/kodi-platform/CMakeFiles/CMakeOutput.log".
See also "/home/michal/xbmc/xbmc/kodi-platform/CMakeFiles/CMakeError.log".

My question: what is "platform"? There is no any "platform" package on Debian or Ubuntu as well. It seems you are using some non standard packages/libs, any advice where to get it?

I even tried to search packages contetent for file "<platform/util/StdString.h>". There is no such file on any debian package. Any advice where can I get that "platform" ?
Reply
#2
Building fine here.

clone https://github.com/Pulse-Eight/platform
debuild
f**k..... started editing without sudo | M.K.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Oh yes, it's fine now, thanks
Reply
#4
I was trying to install pvr-hts add on by unoficial overlay in Gentoo. Everything worked fine till compilation of kodi-platform. It ended with the same error as above. So I decided to compile by myself using cloned git repository from the link above, but got the same error again.

It seems like the "platform" got renamed to "p8-platform" but kodi-platform still expects the old name.
Reply
#5
Works now! Someone has probably fixed the git repo. Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Debian - unable to build kod-platform. "platform" package?0