Skip to content
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

receiver.cpp:204:23: error: no matching function for call to ‘gr::top_block::disconnect #1320

Closed
gustad opened this issue Nov 6, 2023 · 4 comments
Labels

Comments

@gustad
Copy link

gustad commented Nov 6, 2023

I've got this error when trying to compile gqrx v2.17.3 (35030c9) with gnuradio v3.10.0.0 (9e6aeefea):

    /home/test/projects/sdr/gqrx.git/src/applications/gqrx/receiver.cpp: In member function ‘void receiver::set_input_device(std::string)’:
    /home/test/projects/sdr/gqrx.git/src/applications/gqrx/receiver.cpp:204:23: error: no matching function for call to ‘gr::top_block::disconnect(osmosdr::source::sptr&, int, fir_decim_cc_sptr&, int)’
      204 |         tb->disconnect(src, 0, input_decim, 0);
          |         ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~

Is v2.17.3 not yet qualified using gnuradio 3.10 or are there any specific cmake configuration options which have to be set?

@argilo
Copy link
Member

argilo commented Nov 6, 2023

A number of users have encountered this before (e.g. #1268, #1187) and I believe this comes up if multiple versions of GNU Radio are installed simultaneously. If that's the case, try removing any that you don't need anymore.

@gustad
Copy link
Author

gustad commented Nov 11, 2023

Thanks. I only have one gnuradio installation which I've done from source. But I've built a recent version now. So there might be traces from the old version in the install directory. I will try to clean all files left over from the old installation.

@argilo
Copy link
Member

argilo commented Nov 25, 2023

Were you able to resolve the problem?

@argilo argilo added the bug label Nov 25, 2023
@gustad
Copy link
Author

gustad commented Nov 26, 2023

I'm having some issues building Gnuradio-osmosdr ATM. I'll close this bug as it was probably related to the previously installed GnuRadio structure.

@gustad gustad closed this as completed Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants