kodi-pvr / pvr.stalker

A PVR Client that connects Kodi to Stalker Middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build error on raspberry pi 3

opened this issue · comments

When I run cmake -DADDONS_TO_BUILD=pvr.stalker -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
as per step 4 of the readme, I get the following error:
"invalid or missing addon source directory at /home/pi/xbmc/project/cmake/pvr.stalker"

$ kodi --version
16.1 Git:2016-04-24-b08ce71-dirty Media Center Kodi
Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
Couldn't get a file descriptor referring to the console

should I have to build kodi from source as well, or is cloning the repo enough?

Here is the actual output
`-- Addon source tarball caching is enabled
-- ZIP packaging enabled (destination: /home/pi/pvr.stalker/build/build/zips)
-- Building following addons: pvr.stalker
-- Overriding addon source directory prefix: /home/pi/xbmc/project
-- Processing /home/pi/xbmc/project/cmake/addons/depends/common/p8-platform/p8-platform.txt
-- p8-platform url: https://github.com/Pulse-Eight/platform.git
-- Processing /home/pi/xbmc/project/cmake/addons/depends/common/tinyxml/tinyxml.txt
-- tinyxml url: http://mirrors.kodi.tv/build-deps/sources/tinyxml-2.6.2_2.tar.gz
-- Processing /home/pi/xbmc/project/cmake/addons/depends/common/kodi-platform/kodi-platform.txt
-- kodi-platform url: https://github.com/xbmc/kodi-platform
-- kodi-platform depends: tinyxml;p8-platform
-- No platform specific file /home/pi/xbmc/project/cmake/addons/depends/linux/CMakeLists.txt found
CMake Error at CMakeLists.txt:395 (message):
pvr.stalker: invalid or missing addon source directory at
/home/pi/xbmc/project/pvr.stalker

-- Configuring incomplete, errors occurred!
`

It looks like there is no /home/pi/xbmc/project/cmake/addons/depends/linux/ directory

commented

I assume you're building our version of the add-on, not yours. Please drop -DADDON_SRC_PREFIX=../..

cmake -DADDONS_TO_BUILD=pvr.stalker -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons