Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ld cannot find -lvolk #1856
Over the last week or so, I've compiled GNU Radio several times on fresh installs of Ubuntu Xenial. Today, with the latest
Since the process worked before, I tried an older git revision of this repo (June 7, https://github.com/gnuradio/gnuradio/tree/351dfb8ec4b07dddbd921f994c2bfd89cc35eadf), and I was able to compile again without errors.
Is this a bug or should my compilation procedure now be updated?
So, I'd simply not recommend following this guide in every detail.
Instead of cloning VOLK separately, just go into your
You can't just clone non-releases of VOLK and GNU Radio and hope they're compatible.
Can you let us know whether cleaning your Prefix, and then not installing VOLK separately, but simply during the GNU Radio build (i.e. remove
Oh, and also, really, unless you want to develop GNU Radio (as opposed to developing applications with GNU Radio), you really don't have build GNU Radio, VOLK, gr-osmosdr, rtl-sdr, gqrx from source: If you use a modern Ubuntu (i.e. 18.04 instead of 16.04, which is in out-of-full-support phase), you get a pretty recent version of GNU Radio simply via
Thank you @marcusmueller. Your advice makes sense; I'll try it after the weekend.
The reason I'm compiling everything by hand is the enormous amount of time I've spent unsuccessfully getting various SDR components to work together when installed from apt. Compiling from source simply worked. As wonderful as it is, the SDR community isn't exactly known for clear documentation. The reason I'm working with Xenial is similar—most documentation is aimed at it. But I will try the latest LTS next time I'm doing this, as you advise.
I've documented my goals and process here, if you are interested to know more.