Ah, I had in my memory that we've added C++ templates to all the soapy blocks, seems we
haven't. Sorry.
On 02.06.24 19:42, robin ivetic wrote:
> Hi Marcus,
>
> Please can you be more specific, I tried with 2 gnuradio binary packages installed on Arch
> and USB boot DragonOS, except uhd: usrp sink, neither block accept c++. like SoapyHackRF,
> SoapyLime, depreciated Soapy sink (general), SoapyPluto sink, maybe I'm doing something
> wrong, when I start to build flowgraph, I choose option-properties-output language C++ -
> without GUI
>
>
> Robin
>
>
> ------------------------------------------------------------------------------------------
> *From:* Marcus Müller <mmueller@gnuradio.org>
> *Sent:* Sunday, June 2, 2024 4:48 PM
> *To:* robin ivetic <otpisani1@hotmail.com>; JORGE GONZALEZ ORELLANA via GNU Radio, the
> Free & Open-Source Toolkit for Software Radio <discuss-gnuradio@gnu.org>
> *Subject:* Re: saving script with cpp instead py
>
> Hi Robin,
>
> indeed, gr-osmosdr simply isn't C++; so you can't use it in C++ flow graphs.
>
> However, the necessity for it has largely been supplanted by gr-soapy in mainline GNU
> Radio; you should be able to use most hardware without gr-osmosdr, simply with the
> built-in soapy blocks.
>
>
> Best,
>
> Marcus
>
> On 01.06.24 22:01, robin ivetic wrote:
>> Hello,
>>
>> I can't save any script to run as cpp, because block that I'm using (gr-osmosdr) not
>> support cpp. Searching I found this example
>> <https://github.com/gnuradio/gnuradio/issues/2297>, need to turn flag cpp and alo
>> include cpp_template, means that I need to compile from the source, but than I realize
>> that almost all hardware sink/wrappers and sources blocks inside gnuradio installed from
>> package, don't offer also cpp support.
>> <https://github.com/gnuradio/gnuradio/issues/2297>
>>
>> Add C++ generation support in GRC to all blocks · Issue #2297 · gnuradio/gnuradio
>> <https://github.com/gnuradio/gnuradio/issues/2297>
>> The checklists below indicate which blocks have C++ support in master. gr-analog 25/34 ✔️
>> analog_agc2_xx analog_agc3_xx analog_agc_xx analog_am_demod_cf analog_const_source_x
>> analog_cpfsk_bc analog...
>> github.com
>>
>>
>> Now I don't know if I need to turn this feature on the gnuradio level, when I'm
>> compiling or just block per block, and if second option true, what would be correct
>> procedure to include cpp saving script when compiling gr-osmosdr.
>>
>> Robin
No comments:
Post a Comment