Trouble building pvr.mythtv
#1
Sorry, nm
Reply
#2
i am having trouble building.
using the build instructions:
https://github.com/janbar/pvr.mythtv/

on step 4: 
Code:
cmake -DADDONS_TO_BUILD=pvr.mythtv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=ON ../../xbmc/cmake/addons

CMake Error: The source directory "/home/tv/pvr/xbmc/cmake/addons" does not exist.
 


tv@tv:~/pvr/pvr.mythtv/build$ cmake -DADDONS_TO_BUILD=pvr.mythtv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug
CMake Error: The source directory "/home/tv/pvr/pvr.mythtv/build" does not appear to contain CMakeLists.txt.
Reply
#3
Same problem.
Reply
#4
You have to clone kodi source before as explain in the README file:

 
  1. Code:
    git clone --branch=master --depth=1 https://github.com/xbmc/xbmc.git
  2. Code:
    git clone --branch=master https://github.com/janbar/pvr.mythtv.git
  3. Code:
    cd pvr.mythtv && mkdir build && cd build
  4. Code:
    cmake -DADDONS_TO_BUILD=pvr.mythtv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=ON ../../xbmc/cmake/addons
  5. Code:
    make

Finally the addon package is dropped in ../../xbmc/addons/pvr.mythtv/
Reply
#5
Is the code portable or specific to the platform it is built. If not how would one say build it for Android?

Thanks.
Running Kodi on Arch 64bit Linux (Leia 18.9) ,  Android Nougat (Leia 18.9) CoreELEC (S905 community builds Leia 18.9)
Reply
#6
(2018-02-22, 21:44)janbar Wrote: cmake -DADDONS_TO_BUILD=pvr.mythtv -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=ON ../../xbmc/cmake/addons

The first command still did not work until I changed to the built directory and then everything worked?

Jerry
Reply

Logout Mark Read Team Forum Stats Members Help
Trouble building pvr.mythtv0