|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] Building ControlPort support into OOT module |
Date: | Thu, 11 Feb 2016 09:50:50 -0500 |
Tom -So as it turned out, I had the rpcbasic_register_set<> value types mismatched (signed vs unsigned) and that error was hidden within a huge mess of errors that appeared to be "could not find rpcbasic_register_set" errors. Sorry for the confusion.
Thank you for the #include. That builds with GR_CTRLPORT set. Are there any recommendations for what the "suggestion" pmt's should be for string-type values?Thanks
On Wed, Feb 10, 2016 at 11:42 AM, Tom Rondeau <address@hidden> wrote: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.2Thanks, JacobCan 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
[Prev in Thread] | Current Thread | [Next in Thread] |