mkrufky / libdvbtee

dvbtee: a digital television streamer / parser / service information aggregator supporting various interfaces including telnet CLI & http control
GNU Lesser General Public License v2.1
79 stars 31 forks source link

Does not compile on Ubuntu 18.04 #54

Open skycanine opened 5 years ago

skycanine commented 5 years ago

commit ea75b569d8d63ede90f042def36628dcf913271d (HEAD -> master, tag: v0.6.7, origin/master, origin/HEAD)

In file included from decoder.cpp:22:0:                                                                                                                                                             
decoder.h:33:10: fatal error: dvbpsi/dvbpsi.h: No such file or directory                                                                                                                            
 #include "dvbpsi/dvbpsi.h"       
hdhr_tuner.cpp:31:10: fatal error: hdhomerun.h: No such file or directory                             
 #include "hdhomerun.h"    
mkrufky commented 5 years ago

If you want to control an HdHomerun device, then you will need to install libhdhomerun-dev before running any of libdvbtee's build scripts.

After doing so, the configure script will configure the build system to use either an HdHomerun device, a LinuxTV device, or no device at all.

libdvbtee uses a custom version of libdvbpsi, and the build-auto.sh script takes care of that for you, along with the configuration and build.

Please try again using the build-auto.sh script.

skycanine commented 5 years ago

Ahh, thanks. I'll try again when I get a chance.

I've written a PVR for HDHomerun. A user clicks on "Record" in a TitanTV.com tv guide. That Downloads a program.tvpi file which I've associated with a bash script. It adds a cron job which calls the same bash script, but to record the show. The recording functions call APIs to flesh out the show/movie title in the Plex naming convention. I'd like to improve its repeat recording feature which currently assumes the same weekday and time. So a correct local tv guide is important. I hope your library can help me there. Thanks!

skycanine commented 5 years ago

Below makes the compile succeed.

Previously installed libhdhomerun

sudo cp -p libhdhomerun/*.h /usr/include/libhdhomerun/ # of course, do mkdir and chmod