discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Using an OOT from GNU Radio Companion version 3.7.2 Today


From: Caden O'Donnell
Subject: Re: Using an OOT from GNU Radio Companion version 3.7.2 Today
Date: Sun, 9 Jul 2023 23:00:07 -0400

A follow up question to this, I am having problems building the OOT I am trying to use. When I look at the file that is giving me the error, on the line 
"return gnuradio::get_initial_sptr"
I get the error 
"no suitable user-defined conversion from "std::shared_ptr<gr::doa::capon_ccf_impl>" to "gr::doa::capon_ccf::sptr" exists"

I hardly know any c++ so I don't know how to fix this, and I can also tell that this error message is pretty specific to what I am trying to build. I am just wondering if this might have to do with the fact that the newer version of gnuradio interacts differently and so it is having this error. If someone is willing to try to recreate it I am trying to make/build this github repository: https://github.com/samwhiting/gnuradio-doa

I am running on ubuntu 20.04, installed my gnuradio through "sudo apt install gnuradio" and it is up to date. When trying to build the repository, I first used the "cmake" command, which had no issues, then when I tried to "make" it, it gave me this error:

/home/caden/gnuradio-doa/gr-doa/lib/capon_ccf_impl.cc: In static member function ‘static gr::doa::capon_ccf::sptr gr::doa::capon_ccf::make(int)’:
/home/caden/gnuradio-doa/gr-doa/lib/capon_ccf_impl.cc:37:9: error: could not convert ‘gnuradio::get_initial_sptr(T*) [with T = gr::doa::capon_ccf_impl]()’ from ‘std::shared_ptr<gr::doa::capon_ccf_impl>’ to ‘gr::doa::capon_ccf::sptr’ {aka ‘boost::shared_ptr<gr::doa::capon_ccf>’}
   36 |       return gnuradio::get_initial_sptr
      |              ~~~~~~~~~~~~~~~~~~~~~~~~~~
   37 |         (new capon_ccf_impl(vector_size));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         |
      |         std::shared_ptr<gr::doa::capon_ccf_impl>
make[2]: *** [lib/CMakeFiles/gnuradio-doa.dir/build.make:63: lib/CMakeFiles/gnuradio-doa.dir/capon_ccf_impl.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:304: lib/CMakeFiles/gnuradio-doa.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
 
If anyone is able to recreate this error and then find a solution that would be much appreciated.

Thanks,
Caden

On Sat, Jul 8, 2023 at 6:15 AM Nicolas Buhr <buhr.nicolas@gmx.de> wrote:
For installing GNURadio 3.7.2 try installing it via conda. You may follow the „Installation using conda“ instructions found here:
https://wiki.gnuradio.org/index.php/CondaInstall

Am 07.07.2023 um 00:13 schrieb Caden O'Donnell <odo.caden@gmail.com>:


For a project I am working on I need to use an Out of Tree (OOT) module from Gnu Radio Companion (GRC) version 3.7.2. However, from the googling I did, I found out that this is because GRC changed from using .xml to .yml files between when this OOT was made. I tried installing version 3.7.2 but am new to linux and ran into many problems. I also looked into porting the OOT to the modern version but it was kind of confusing and I was unable to do it and not sure if it would work even if I had a good understanding of linux. I am using Ubuntu 20.04. If anyone has any ideas to help that would be much appreciated.

Thanks,
Caden

reply via email to

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