Giter VIP home page Giter VIP logo

Comments (2)

jose1711 avatar jose1711 commented on August 13, 2024

zistujem, ze by asi bolo vhodne sa najprv prepnut na Krypton branch 😄 Kazdopadne aj tu sa vyskytol jeden problem:

[ 58%] Built target kodi-platform
[ 78%] Built target jsoncpp
[ 80%] Performing configure step for 'pvr.sledovanitv'
CMake Error at CMakeLists.txt:9 (find_package):
  By not providing "Findkodi.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "kodi", but
  CMake did not find one.

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

    kodiConfig.cmake
    kodi-config.cmake

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


-- Configuring incomplete, errors occurred!
See also "/home/jose/tmp/sle/pvr.sledovanitv/build/pvr.sledovanitv-prefix/src/pvr.sledovanitv-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [CMakeFiles/pvr.sledovanitv.dir/build.make:107: pvr.sledovanitv-prefix/src/pvr.sledovanitv-stamp/pvr.sledovanitv-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:74: CMakeFiles/pvr.sledovanitv.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

from pvr.sledovanitv.

jose1711 avatar jose1711 commented on August 13, 2024

Tak som to nakoniec nejak zlomil. Postup funkcny pre aktualny Arch Linux x86_64 (pre istotu niekolkokrat uspesne zreprodukovany):

# priprava
pacman -S kodi-dev
sudo cp /usr/share/kodi/cmake/KodiConfig.cmake /usr/share/kodi/cmake/kodiConfig.cmake

# stiahnutie zdrojakov
mkdir sledovanie && cd sledovanie
git clone https://github.com/xbmc/xbmc.git --branch 17.6-Krypton
git clone https://github.com/PepaRokos/pvr.sledovanitv.git --branch Krypton
cd pvr.sledovanitv
cp -R xbmc/ ../
mkdir build
cd build

# workaround kvoli nefungujucej detekcii cmake
vi ../FindJsonCpp.cmake
# za prvy endif() vlozit novy riadok:
set(JSONCPP_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/build/build/depends/include/jsoncpp")

cmake -DADDONS_TO_BUILD=pvr.sledovanitv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
make

# instalacia do domovskeho adresara
cp -r ../../xbmc/addons/pvr.sledovanitv ~/.kodi/addons

from pvr.sledovanitv.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.