I'm trying to run GNURadio with the RFNoC Fosphor block. I first tried
building UHD 4.4 and GNURadio 3.10 or 3.11. I had read the Readme for
gr-ettus that said for GR3.10 to just use gr-uhd directly. In GNURadio
Companion, I see most of the UHD blocks, including RFNoC blocks like
Fosphor, but searching the available blocks for fosphor doesn't give any
other results - though I believe I need an RFNoC Fosphor display block.
Am I missing something?
I've also tried going back to GR3.8 (maint-3.8 branch) with UHD4.0
(UHD-4.0 branch) and gr-ettus (branch maint-3.8-uhd4.0). However, when
I do that, I get a bunch of errors when trying to build GR3.8, along the
lines of the following (failing to convert between boost::shared_ptr and
std::shared_ptr):
/home/clint/git/gnuradio/build-3.8/gr-uhd/swig/CMakeFiles/uhd_swig.dir/uhd_swigPYTHON_wrap.cxx:38977:66:
error: invalid ‘static_cast’ from type
‘SwigValueWrapper<std::shared_ptr<gr::uhd::amsg_source> >’ to type
‘const sptr&’ {aka ‘const boost::shared_ptr<gr::uhd::amsg_source>&’}
38977 | resultobj = SWIG_NewPointerObj((new
gr::uhd::amsg_source::sptr(static_cast< const
gr::uhd::amsg_source::sptr& >(result))),
SWIGTYPE_p_std__shared_ptrT_gr__uhd__amsg_source_t, SWIG_POINTER_OWN |
0 );
(Though some of the errors come from other GR components, but I believe
they're all related to pointer casting.) I'm doing this on Ubuntu
22.04. I believe I also tried GR3.8 with UHD-4.4 and got the same or
very similar errors.
So - what is the best way to use the RFNoC Fosphor block at the moment?
Am I missing something with the latest versions of GR and UHD, or do I
need to use the older version to get the display block? If the latter,
any suggestions for fixing my build errors?
Thanks!
Clint
- status of RFNoC Fosphor and build recommendations Clint Scarborough
-