Re: Faq? GRC and gnuradio versions don't match?

2024-03-01 Thread David Cherkus
Thank you! I followed your steps, now I have 3.10.9.2 working! dcherkus@dmin:~$ gnuradio-companion *grc<<< Welcome to GNU Radio Companion 3.10.9.2 >>> I made myself a note to do 'make uninstall' before trying a new version. Regards,Dave

Faq? GRC and gnuradio versions don't match?

2024-03-01 Thread David Cherkus
Hi, I just built GNUradio from source on Debian 11 x86 64 bit. Even after a reboot, GRC and GNUradio's versions don't match? dcherkus@dmin:~$ gnuradio-config-info --version3.10.9.2dcherkus@dmin:~$ gnuradio-companion --helpusage: gnuradio-companion [-h] [--log {debug,info,warning,error,critical}]

Callback method not being provided in GR 3.10 OOT Block

2022-07-09 Thread David Cherkus
As earlier, I am porting an OOT that worked with GR 3.9 into GR 3.10. I'm a C++ and CMake newbie, please keep that in mind. When I run a flowgraph with my GR 3.10 block in it I get: Traceback (most recent call last):     from gnuradio import mxvii     from .mxvii_python import * ImportError: /h

Re: Using std::popcout in a GR 3.10 block

2022-07-09 Thread David Cherkus
This was solved in chat via some hints from Ryan. In short, I was wrong thinking that GR was using C++20 by default, and had to set it. I did in lib/CMakeLists.txt near the target definition: On Friday, July 8, 2022, 7:09:14 PM EDT, David Cherkus wrote: So, am working with a new

Using std::popcout in a GR 3.10 block

2022-07-08 Thread David Cherkus
So, am working with a new C++ OOT I just made under GR 3.10 using gr_modtool. All the code created by gr_modtool compiled fine. I added a header file that uses std::popcout and got the compiler error: error: 'popcount' is not a member of 'std'; So std::popcout is a C++20 feature... Is there som

Different ways to code a GR block -- best practices?

2022-07-08 Thread David Cherkus
So, I was reading someone's python block that was coded as a general block, and wanted to work in blocks of X elements as input.  If it got less than X, it just said I consumed nothing, and just waited to be called back repeatedly till eventually it was given X or more elements.   Note X wasn't

Selecting a SDR as a sink

2022-03-03 Thread David Cherkus
Asked this on chat, thought it might need a broader audience so am asking here too... Part of my flowgraph looks like: I.e. a selector that selects between output to null sink, osmocom sink or PlutoSDR sink. Problem is when I run the flow and no SDR is present (I select Null Sink by defau

Using VSCode With gr-tutorial

2022-02-20 Thread David Cherkus
Am following the Wiki UsingVSCode page ( https://wiki.gnuradio.org/index.php?title=UsingVSCode ). So, I set the breakpoint in the work function, it works as advertised, I hit the breakpoint. I use F5 to continue a few times and then delete the breakpoint since I get it, it's looping. The red