Tuesday, August 20, 2019

Re: [Discuss-gnuradio] CMake macros & definitions for GR 3.8

On 20 Aug 2019, at 15:00, Müller, Marcus wrote:

> Hi Emmanuel,
>
> so, with 3.8 we're switching to the more modular modern CMake.

Great - and good to know.

> I assume you've created an out-of-tree module using `gr_modtool
> newmod`
> (if you haven't, try it; you get a useful stub!).

I tried it, but I failed to locate the proper way to use it, it seems
:-)

I wanted to rebuild GQRX w/ PlutoSDR support for macOS targets, and get
rid of Python 2.7.
It has always been difficult, but thanks to GR 3.8 and a couple of
patches, it now works.

I was missing the way to do a proper link w/ 3.8.
Thanks a lot for your help!

> find_package(Gnuradio "3.8" REQUIRED COMPONENTS blocks analog)

This is the part that I actually missed ^^^

> https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide

Thanks for the link.

BR,
Emmanuel.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment