Static const unsigned int m_firmwareBytesLen Īre in theory linked to in the FX2Firmware.cpp and defined there (however, that file is not define in the FX2Device.h/cpp files and is only linked together with the parent segment of the total solution. Static const unsigned char m_firmwareBytes However, just doing that doesn't seem to completely solve the problem, as it may (in theory) compile against the calling program, it does not, however, compile against FX2Device.h or FX2Device.cpp.
#Hauppauge hd pvr 2 linux code
The solution is (if it's wanted to be attempted yourself) is to run manually and hard code the rule.mk file in the FX2API directory.įX2FIRMWARE_VAR = FX2Device_t::m_firmwareBytesĮcho '#include "FX2Device.h"' > -u -i $^ | sed -E 's/unsigned char /const unsigned int $(FX2FIRMWARE_VAR)Len/' > it uses, xxd (a hex file interpreter / dumper) to output to the FX2Firmware.cpp the contents of firmware.bin. The problem has to do with the compilation of the FX2Firmware.cpp and the calling application versus the FX2Device.h/cpp files. It does have the pack.sh problem detailed/solved. There is another post to this problem, however, the solution does not work, at least not arch linux. It may or may not be related to Arch Linux building. Makefile:2: recipe for target 'all' failed Make: Leaving directory '/builds/hauppauge_hdpvr2_driver_ver6b_157210/TestApp/build' Makefile:52: recipe for target 'HDPVR2-testApp' failed builds/hauppauge_hdpvr2_driver_ver6b_157210/TestApp/build-ADV7842/././Common/FX2API/FX2Device.cpp:91: undefined reference to `FX2Device_t::m_firmwareBytes'Ĭollect2: error: ld returned 1 exit status builds/hauppauge_hdpvr2_driver_ver6b_157210/TestApp/build-ADV7842/././Common/FX2API/FX2Device.cpp:89: undefined reference to `FX2Device_t::m_firmwareBytesLen'
#Hauppauge hd pvr 2 linux driver
The source is supposed to build a recording application too, but I'm only interested in the libusb driver to get it working in udev so I can hook it into OBS.Īnd here's the compile error I'm getting: I've tried to compile it on my system but it keeps erroring out, I was wondering if anyone out there might be able to help me work through these makefiles to get the driver. They've finally "released" a driver for the HD PVR 2 (so I can record from my Xbox) but they've only compiled it on Ubuntu and have virtually no support.