discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Regarding the error in creating an OOT module in GR3.9


From: Yash Agrawal 18410
Subject: Regarding the error in creating an OOT module in GR3.9
Date: Mon, 9 Aug 2021 15:12:55 +0530

Hello everyone,
 am currently working on the project "'Implementation of a packet encoder/decoder pair in the GNU radio framework'".I am getting some serious errors while running the project on the above mentioned environment shown as:
merlin@merlin:~/chchc/gnuradioproject-master/gr-packetizer/build$ make
Scanning dependencies of target gnuradio-packetizer
[  3%] Building CXX object lib/CMakeFiles/gnuradio-packetizer.dir/preamble_header_payload_demux_impl.cc.o
/home/merlin/chchc/gnuradioproject-master/gr-packetizer/lib/preamble_header_payload_demux_impl.cc: In static member function ‘static gr::packetizer::preamble_header_payload_demux::sptr gr::packetizer::preamble_header_payload_demux::make(int, int, int, const string&, const string&, bool, size_t, const string&, double, const std::vector<std::__cxx11::basic_string<char> >&, size_t, int, int)’:
/home/merlin/chchc/gnuradioproject-master/gr-packetizer/lib/preamble_header_payload_demux_impl.cc:90:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::packetizer::preamble_header_payload_demux_impl]()’ from ‘std::shared_ptr<gr::packetizer::preamble_header_payload_demux_impl>’ to ‘gr::packetizer::preamble_header_payload_demux::sptr {aka boost::shared_ptr<gr::packetizer::preamble_header_payload_demux>}’
       return gnuradio::get_initial_sptr
              ~~~~~~~~~~~~~~~~~~~~~~~~~~
         (new preamble_header_payload_demux_impl(
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           header_len,
           ~~~~~~~~~~~
           items_per_symbol,
           ~~~~~~~~~~~~~~~~~
           guard_interval,
           ~~~~~~~~~~~~~~~
           length_tag_key,
           ~~~~~~~~~~~~~~~
           trigger_tag_key,
           ~~~~~~~~~~~~~~~~
           output_symbols,
           ~~~~~~~~~~~~~~~
           itemsize,
           ~~~~~~~~~
           timing_tag_key,
           ~~~~~~~~~~~~~~~
           samp_rate,
           ~~~~~~~~~~
           special_tags,
           ~~~~~~~~~~~~~
           header_padding,
           ~~~~~~~~~~~~~~~
           preamble_len,
           ~~~~~~~~~~~~~
           header_len_divider
           ~~~~~~~~~~~~~~~~~~
         ));
         ~~
lib/CMakeFiles/gnuradio-packetizer.dir/build.make:62: recipe for target 'lib/CMakeFiles/gnuradio-packetizer.dir/preamble_header_payload_demux_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-packetizer.dir/preamble_header_payload_demux_impl.cc.o] Error 1
CMakeFiles/Makefile2:174: recipe for target 'lib/CMakeFiles/gnuradio-packetizer.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-packetizer.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

My current working environment is gnuradio 3.9 on ubuntu 18.04. Hence any leads will be thankful.
- Thanks and Regards
Yash Agrawal
Electrical Engineering and Computer Sciences Department
18410


reply via email to

[Prev in Thread] Current Thread [Next in Thread]