discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Building ControlPort support into OOT module


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Building ControlPort support into OOT module
Date: Wed, 10 Feb 2016 13:42:30 -0500

On Wed, Feb 10, 2016 at 11:37 AM, Jacob Gilbert <address@hidden> wrote:
I'm having some trouble adding ControlPort hooks to an OOT module. Is there a guide on this I am missing? I followed the ControlPort manual page including the #ifdef statements, however GR_CTRLPORT is not set and the controlport code never gets built.


For this, use:

#include <gnuradio/config.h>

That file defines GR_CTRLPORT (if it's been enabled in GNU Radio).

 
If I force the code to be built, the build fails as none of the controlport stuff is included. There appears to be some CMake or include statements I am missing. I tried to modify the top-level/lib/swig cmake files to emulate what in-tree modules have done but to no avail.

ControlPort and thrift are definitely built into the GR installation and works just fine. Any pointers are appreciated. GR is release 3.9.2

Thanks, Jacob


Can you post the error you're seeing? All ControlPort functionality is built into gnuradio-runtime, which you should be linking against by default in any gr_modtool project. But yeah, the actual error will help narrow this down to what the real problem is.

Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]