Kodi Community Forum

Full Version: pvr.hts build error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am stuck for building my kodi at debian with tvheadend clinet.
I followed the instruction from github https://github.com/kodi-pvr/pvr.hts/.

1. git clone https://github.com/xbmc/xbmc.git
2. git clone https://github.com/kodi-pvr/pvr.hts.git
3. cd pvr.hts && mkdir build && cd build
4. cmake -DADDONS_TO_BUILD=pvr.hts -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/addons -DPACKAGE_ZIP=1 ../../xbmc/project/cmake/addons
5. make

but I faced the error below.

-- Build files have been written to: /root/pvr.hts/build/pvr.hts-prefix/src/pvr.hts-build
[ 26%] Built target hts
Scanning dependencies of target pvr.hts
[ 30%] Building CXX object CMakeFiles/pvr.hts.dir/src/client.cpp.o
In file included from /root/pvr.hts/src/client.cpp:26:0:
/root/pvr.hts/src/Tvheadend.h:30:38: fatal error: kodi/xbmc_stream_utils.hpp: No such file or directory
#include "kodi/xbmc_stream_utils.hpp"
compilation terminated.
CMakeFiles/pvr.hts.dir/build.make:54: recipe for target 'CMakeFiles/pvr.hts.dir/src/client.cpp.o' failed
make[5]: *** [CMakeFiles/pvr.hts.dir/src/client.cpp.o] Error 1
CMakeFiles/Makefile2:91: recipe for target 'CMakeFiles/pvr.hts.dir/all' failed
make[4]: *** [CMakeFiles/pvr.hts.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/pvr.hts.dir/build.make:107: recipe for target 'pvr.hts-prefix/src/pvr.hts-stamp/pvr.hts-build' failed
make[2]: *** [pvr.hts-prefix/src/pvr.hts-stamp/pvr.hts-build] Error 2
CMakeFiles/Makefile2:122: recipe for target 'CMakeFiles/pvr.hts.dir/all' failed
make[1]: *** [CMakeFiles/pvr.hts.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
[email protected]:~/pvr.hts/build#

Please help me to solve this.
someone forgot to update the binary-addon repos Smile

No, the add-on simply is not yet adapted to latest pvr api changes (merged yesterday). Same for pvr.mythtv. Working on it.
Hello I have the same problem... with ubuntu 15.10, do you know a workaround solution to solve the problem? ... ag. with ubuntu 15.04 work fine...?

Please wait for https://github.com/kodi-pvr/pvr.hts/pull/206 to get merged which should happen the very next days.
Ok... thankyou so much ksooo