<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div>If anyone does sort out the required dependencies and gets this to build (in Xenial), please post your build adventure to the mailing list (...and if you choose to your .dsc file from debuild...).  With that info I can probably get a version posted to my ppa.<br></div></div></div></blockquote><div><br></div><div>So after staring at this for a few more minutes, I now have a version that compiles with pbuilder and is also posted to my ppa (<a href="https://launchpad.net/~john-hoyt/+archive/ubuntu/hauppaugeusb/+packages">https://launchpad.net/~john-hoyt/+archive/ubuntu/hauppaugeusb/+packages</a>).</div><div><br></div><div>The big issues with compiling were </div><div><ol><li>replacing the xxd package with vim-common as that's where Xenial hides the xxd executable.  </li><li>modifying the source in "Common/Rx/audio_CS8416.cpp" to add an include statement to cstring and changing the call to memcpy to be std::memcpy</li></ol></div><div>Here's the diff for a patch file for "Common/Rx/audio_CS8416.cpp:</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>--- Common/Rx/audio_CS8416.cpp    2016-09-26 16:35:49.000000000 -0400</div></div><div class="gmail_quote"><div>+++ Common/Rx/audio_CS8416.cpp   2020-07-31 18:11:02.281056836 -0400</div></div><div class="gmail_quote"><div>@@ -17,6 +17,7 @@</div></div><div class="gmail_quote"><div> #include <cstdint></div></div><div class="gmail_quote"><div> #include <map></div></div><div class="gmail_quote"><div> #include <stdexcept></div></div><div class="gmail_quote"><div>+#include <cstring></div></div><div class="gmail_quote"><div> </div></div><div class="gmail_quote"><div> #include "audio_CS8416.h"</div></div><div class="gmail_quote"><div> </div></div><div class="gmail_quote"><div>@@ -170,7 +171,7 @@</div></div><div class="gmail_quote"><div>     else {</div></div><div class="gmail_quote"><div>         sendbuff = static_cast<uint8_t*>(malloc(len + 1));</div></div><div class="gmail_quote"><div>         *sendbuff = static_cast<uint8_t>(reg);</div></div><div class="gmail_quote"><div>-        memcpy(sendbuff + 1, data, len);</div></div><div class="gmail_quote"><div>+        std::memcpy(sendbuff + 1, data, len);</div></div><div class="gmail_quote"><div>     }</div></div><div class="gmail_quote"><div> </div></div><div class="gmail_quote"><div>     result = m_fx2.I2CWrite(CS8416_DEVICE_ADDR, sendbuff, len + 1);</div></div></blockquote><div class="gmail_quote"><div><br></div><div>@John Poet - it may be worth appending some instructions to your gitrepo Readme.md noting Ubuntu Xenial users will need to install dependencies with<br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote"><div>"sudo apt-get install libboost-log-dev libboost-program-options-dev libusb-1.0-0-dev build-essential"</div></div></blockquote><div class="gmail_quote"><div><br></div><div>As well as apply the patch.</div><div><br></div><div>~John</div></div></div>