gnuradio / gr-dpd

Digital Pre-Distortion implementation in GNU Radio
https://grdpd.wordpress.com
GNU General Public License v3.0
39 stars 16 forks source link

Issue in Make for gnuradio version 3.10.1.1 #15

Open VAnavangot opened 1 year ago

VAnavangot commented 1 year ago

While installing the OOT block in GNURadio I am getting the following issue

$PATH/gr-dpd/lib/MP_model_PA_impl.cc: In static member function ‘static gr::dpd::MP_model_PA::sptr gr::dpd::MP_model_PA::make(int, int, std::string, const std::vector<std::complex<float> >&)’:
$PATH/gr-dpd/lib/MP_model_PA_impl.cc:57:38: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::dpd::MP_model_PA_impl]()’ from ‘std::shared_ptr<gr::dpd::MP_model_PA_impl>’ to ‘gr::dpd::MP_model_PA::sptr’ {aka ‘boost::shared_ptr<gr::dpd::MP_model_PA>’}
   57 |     return gnuradio::get_initial_sptr(
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~^
      |                                      |
      |                                      std::shared_ptr<gr::dpd::MP_model_PA_impl>
   58 |         new MP_model_PA_impl(Order, Mem_Depth, Mode, Coeff));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [lib/CMakeFiles/gnuradio-dpd.dir/build.make:76: lib/CMakeFiles/gnuradio-dpd.dir/MP_model_PA_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:248: lib/CMakeFiles/gnuradio-dpd.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

A basic look suggests that sptr belongs to the boost namespace instead of the gnuradio or std namespace.