Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on raspberry pi 3 #76

Open
ghost opened this issue Oct 10, 2016 · 2 comments
Open

build error on raspberry pi 3 #76

ghost opened this issue Oct 10, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 10, 2016

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?

@ghost
Copy link
Author

ghost commented Oct 10, 2016

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

@hudokkow
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant