-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error due to alias functions "disconnect" with different number of parameters (and probably different meaning" #1187
Comments
The compilation error appears similar to the ones reported in #941, #952, and #971. But unfortunately it seems nobody got to the bottom of it. Compilation also works fine on Ubuntu 20.04 in Gqrx's CI. Did you install the |
A full build log would also be helpful. |
Dear Argilo, |
It sounds to me like you are using incompatible versions of GNU Radio and gr-osmosdr. GNU Radio 3.8 uses boost::shared_ptr for block pointers, while 3.9+ switched to std::shared_ptr. The gr-osmosdr project made this chang as well, but perhaps you are using a version of gr-osmosdr designed for use with GNU Radio 3.8. Ubuntu 20.04 comes with GNU Radio 3.8. Did you install a more recent version from source or from a PPA? |
Yes , You are right. I was intending to use the SDR-RSP1 clone with gqrx and so I asked to Vladisla2011 how he could be doing so , and then to use his new version of libmiris, and then I found that my gnuradio version was getting too old, and I was pushed to use a newer gnuradio and on monday (two days ago) I have installed gnuradio 3.10.5 |
In that case, you will have to remove the |
I undersatnd very well |
I saw you also prepared an appimage . Thta's a great job! |
That's right. It includes all dependencies, so you don't need to worry about having a working GNU Radio & gr-osmosdr installation. Or if you don't care about having the very latest version of Gqrx, you can install from the package manager with I'll close off this issue, since the problem was not in Gqrx itself. |
the only left problem with gqrx is about liborc-0.4.so that I dont finf! |
the gqrx from the ubuntu package manager was unable to receive the SDR-RSP1 and so I was invited to recompile everything with the library libmiris4 |
You can install that dependency with |
Thank you a lot for your help , at first I miswrote liborc-0.4-dev |
When installing on ubuntu 20.04lts from version argilo november 2022:
"cmake .." step is okey
but
"make" produces when building object "receiver.cpp"
a lot of errors the first of which is:
[ 28%] Building CXX object src/CMakeFiles/gqrx.dir/applications/gqrx/receiver.cpp.o
/home/yves/Installations/gqrx_vladisslav/src/applications/gqrx/receiver.cpp: In member function ‘void receiver::set_input_device(std::string)’:
/home/yves/Installations/gqrx_vladisslav/src/applications/gqrx/receiver.cpp:203:46: error: no matching function for call to ‘gr::top_block::disconnect(osmosdr::source::sptr&, int, fir_decim_cc_sptr&, int)’
203 | tb->disconnect(src, 0, input_decim, 0);
| ^
In file included from /usr/include/gnuradio/top_block.h:15,
from /home/yves/Installations/gqrx_vladisslav/src/applications/gqrx/receiver.cpp:30:
/usr/include/gnuradio/hier_block2.h:127:10: note: candidate: ‘void gr::hier_block2::disconnect(gr::basic_block_sptr)’
127 | void disconnect(basic_block_sptr block);
| ^~~~~~~~~~
The text was updated successfully, but these errors were encountered: