On 07/27/2021 10:45 AM, McNulty, Mike (Assoc) via USRP-users wrote:

Hello everyone,

I feel like this should be easy but I’m struggling to implement logging for my OOT modules. This <https://wiki.gnuradio.org/index.php?title=Logging&direction=next&oldid=4871> wiki outlines how to setup the root cmake file to provide logging. Unfortunately, when I add what I think should be added I get an error.

The error indicates that the function “GR_LOGGING()” does not exist.

I’m very new to cmake so I may be incorrectly implementing the logging requirements. Has anyone had recent success implementing logging?

  * The wiki indicates that log4cpp needs to be copied to
    cmake/modules in the OOT module. Which directory is log4cpp located?

Last question. If I setup logging will errors automatically propagate to the top block? Currently, my blocks in the flowgraph will throw an error and not report it to the TB. What is the best method to handle OOT block errors?

Thanks

Mike

System

------------

Ubuntu 18.04

GNU Radio 3.8.31


This question will get a better audience on the discuss-gnuradio mailing list, even if you're using a USRP, general Gnu Radio questions like this
  (particularly about GR build tooling) should probably go there.


_______________________________________________
USRP-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to