2016-03-09, 16:54
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
root@omvkodi:~/pvr.hts/build#
Please help me to solve this.
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
root@omvkodi:~/pvr.hts/build#
Please help me to solve this.