Kodi Community Forum
Trouble building pvr.mythtv - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MythTV (https://forum.kodi.tv/forumdisplay.php?fid=170)
+---- Thread: Trouble building pvr.mythtv (/showthread.php?tid=325033)



Trouble building pvr.mythtv - squash - 2017-12-04

Sorry, nm


RE: Trouble building pvr.mythtv - nicbifano - 2018-02-20

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.


RE: Trouble building pvr.mythtv - glb45 - 2018-02-22

Same problem.


RE: Trouble building pvr.mythtv - janbar - 2018-02-22

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/


RE: Trouble building pvr.mythtv - gary9872 - 2018-02-23

Is the code portable or specific to the platform it is built. If not how would one say build it for Android?

Thanks.


RE: Trouble building pvr.mythtv - glb45 - 2018-02-25

(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