Closed ForsGump closed 6 years ago
I just pushed a change which includes atomic. I also re-ordered the libraries when linking. Maybe that will fix your issue.
Can you give me the list of packages you had to install for Ubuntu? I will add them to the README.
Thanks! I'll update my repo and try again when I get home.
I'll look in my apt history to see what all I installed, as well. I can say for sure that if your patched version still requires xxd
for the firmware (which is required for compiling the driver by itself), that is vim-common. I'll get the rest later.
Thanks for the patches, I got it compiled and hauppauge2 --list
works! I'll consider this closed.
Follow up--here are the dependencies on (myth|u)buntu 16.04:
sudo apt install build-essential libusb-1.0.0-dev libboost-dev libboost-program-options-dev libboost-log-dev vim-common
I have a system running Mythbuntu 16.04.3. I think I have installed the equivalent dev packages (all the libboost-*-dev and libusb-1.0-0-dev). Following the instructions in the readme.md led me first to errors like the following:
So I added
#include <atomic>
to MythTV.h, which got me to:I'm stuck here -- is anyone else successful in compiling it on 16.04.3? I'll note that extracting the Hauppauge download to a separate directory compiles fine, but I do notice that it uses it's built-in libusb (1.0.18).
For reference:
pkg-config --cflags libusb-1.0
gives-I/usr/include/libusb-1.0
.