discuss-gnuradio
[Top][All Lists]
Advanced

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

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


From: Volker Schroer
Subject: Re: Regarding the error in creating an OOT module in GR3.9
Date: Tue, 10 Aug 2021 12:14:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

I think you have a version mix. gnuradio 3.9 uses std::shared_ptr but
you boost::shared_ptr which is 3.8
 So you need a version of gr-packetizer that supports 3.9.

-- Volker

Am 09.08.21 um 11:42 schrieb Yash Agrawal 18410 via GNU Radio, the Free
& Open-Source Toolkit for Software Radio:
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]