gr-timing_utils icon indicating copy to clipboard operation
gr-timing_utils copied to clipboard

Support when UHD not installed

Open boogachamp opened this issue 5 years ago • 2 comments

In trying to setup a gnuradio dev environment in a CentOS 7 VM, I built my GNU Radio without UHD support. I was able to build gr-timing_utils without issue, but when running a flowgraph I received uhd import errors. Ideally, it would be nice if things UHD specific were left out of the build/install. At a minimum a warning would be good if this package feels uhd is a requirement.

boogachamp avatar Sep 30 '20 15:09 boogachamp

You can comment this file out manually in the python/CMakeLists.txt file for now and we will get a fix in for this.

Annoyingly, finding GR components does not set any CMake flags so its hard to tell if gr-uhd is installed.

jacobgilbert-snl avatar Sep 30 '20 16:09 jacobgilbert-snl

Understood. I tried commenting some things out, but in the end just but the bullet and installed whatever version of uhd was in the CentOS repos and rebuilt GNURadio.

boogachamp avatar Sep 30 '20 18:09 boogachamp