bistromath / gr-air-modes

Gnuradio Mode-S/ADS-B radio
This project implements a Mode S receiver for the Gnuradio software-defined radio project. It is designed to receive Mode S transmissions from aircraft and decode them to a human-readable format, including ADS-B information messages such as position and a
GNU General Public License v3.0
438 stars 126 forks source link

std::shared_ptr<gr::air_modes::preamble_impl> #115

Open gariac opened 2 years ago

gariac commented 2 years ago

opensuse 15.2 5.3.18-lp152.95-default #1 SMP Tue Oct 5 07:30:50 UTC 2021 (7cfc6af) x86_64 x86_64 x86_64 GNU/Linux gnuradio 3.9.4 just installed. Here is the error message.

11%] Building CXX object lib/CMakeFiles/air_modes.dir/preamble_impl.cc.o /usr/local/src/gr-air-modes/lib/preamble_impl.cc: In static member function ‘static gr::air_modes::preamble::sptr gr::air_modes::preamble::make(float, float)’: /usr/local/src/gr-air-modes/lib/preamble_impl.cc:38:38: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::air_modes::preamble_impl]()’ from ‘std::shared_ptr’ to ‘gr::air_modes::preamble::sptr’ {aka ‘boost::shared_ptr’} 38 return gnuradio::get_initial_sptr(new air_modes::preamble_impl(channel_rate, threshold_db)); ~~~~~~^~~~~~~~~~~~~~
std::shared_ptr

make[2]: [lib/CMakeFiles/air_modes.dir/build.make:80: lib/CMakeFiles/air_modes.dir/preamble_impl.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:286: lib/CMakeFiles/air_modes.dir/all] Error 2 make: *** [Makefile:158: all] Error 2