Friday, April 29, 2022

Re: OOT port to 3.10 - bind error

Hi Tom,

GR 3.10 increased the CXX standard to c++17. Perhaps your compiler
doesn't recognize -std=c++17, but did allow -std=c++14 with GR 3.9?

My suspicion is that the following line has something to do with it:

https://github.com/gnuradio/gnuradio/blob/main/gr-utils/blocktool/core/parseheader_generic.py#L323

Cheers,
Ryan

On 4/29/22 11:35 AM, Tom McDermott wrote:
> I am trying to port an existing 3.9 OOT to 3.10.   After the conversion
> and edits based on the 3.10 directories,
> the command to gr_modtool bind my_module fails with the error:
>
> Unknown -std=c++xx flag used
>
> I've greped the entire 3.10 project from its root and that string
> is not in any of the project modules except in the
> failed_conversions.txt file in the python bind output directory).
>
> The only place I can see an include pointing outside the OOT directory
> is in the api.h file in the project include directory:
> #include <gnuradio/attributres.h>
>
> That attributes.h file cannot be found anywhere  on my system.
>
> -- Tom, N5EG
>
>
>
>

No comments:

Post a Comment