Skip to content

Instantly share code, notes, and snippets.

@olie304
Created May 3, 2020 21:34
Show Gist options
  • Save olie304/2772a56619bfc5ad3d2e127f76a0f6bb to your computer and use it in GitHub Desktop.
Save olie304/2772a56619bfc5ad3d2e127f76a0f6bb to your computer and use it in GitHub Desktop.
/gr-symbolrate/lib/symbolrate_impl.cc: In static member function ‘static gr::symbolrate::symbolrate::sptr gr::symbolrate::symbolrate::make(float, float, float, bool)’:
/gr-symbolrate/lib/symbolrate_impl.cc:36:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::symbolrate::symbolrate_impl]()’ from ‘boost::shared_ptr<gr::symbolrate::symbolrate_impl>’ to ‘gr::symbolrate::symbolrate::sptr {aka std::shared_ptr<gr::symbolrate::symbolrate>}’
return gnuradio::get_initial_sptr
~~~~~~~~~~~~~~~~~~~~~~~~~~
(new symbolrate_impl(samp_rate, valid_min, valid_max,logRates));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment