|
From: | Clint Scarborough |
Subject: | status of RFNoC Fosphor and build recommendations |
Date: | Thu, 27 Jul 2023 20:18:36 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |