# ControlPort configuration

**URL:** <https://www.ruby-forum.com/t/controlport-configuration/226734>\
**Category:** GNU Radio\
**Created:** [February 19, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/controlport-configuration/226734 "2013-02-19T17:59:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomrobinson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Post date:** [February 19, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/controlport-configuration/226734/1 "2013-02-19T17:59:46Z")

</div>

Hey guys,

I just posted some information on some of the code that was just pushed  
to  
master/next:

> **[Configuring ControlPort — Rondeau Research](http://www.trondeau.com/home/2013/2/19/configuring-controlport.html)**
>
> We've just pushed some new code to the 'next' branch for better control over ControlPort. Part of this was to make using configuration/preference files more easily and widely used in GNU Radio. While we've had a bunch of configuration files...

I wanted to point this out for two reasons, and both of them have to do  
with Alexandru C. 🙂

This article addresses code that was created to allow full C++ use of  
the  
GNU Radio preference/config files. It also shows how to use a config  
file  
to setup the ICE endpoints for ControlPort, so you can specify the  
interface and port you’re using

Tom

---

<div class="post-metadata">

**Author:** ![tomrobinson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Post date:** [February 19, 2013, 8:19pm UTC](https://www.ruby-forum.com/t/controlport-configuration/226734/2 "2013-02-19T20:19:59Z")

</div>

On Tue, Feb 19, 2013 at 5:58 PM, Tom R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> This article addresses code that was created to allow full C++ use of the  
> GNU Radio preference/config files. It also shows how to use a config file to  
> setup the ICE endpoints for ControlPort, so you can specify the interface  
> and port you’re using

That’s great, thanks!  
It seems however, that an “#include ” is missing in  
gr\_prefs.cc - both the master and the next branch fail building for me  
unless I add the include. The error I get is:

gnuradio-core/src/lib/general/gr\_prefs.cc:87:3: error: cerr is not a  
member of std

Alex

---

<div class="post-metadata">

**Author:** ![tomrobinson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/d78d45/32.png) [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Post date:** [February 19, 2013, 8:22pm UTC](https://www.ruby-forum.com/t/controlport-configuration/226734/3 "2013-02-19T20:22:55Z")

</div>

On Tue, Feb 19, 2013 at 2:19 PM, Alexandru C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> with  
> gr\_prefs.cc - both the master and the next branch fail building for me  
> unless I add the include. The error I get is:
> 
> gnuradio-core/src/lib/general/gr\_prefs.cc:87:3: error: cerr is not a  
> member of std
> 
> Alex

Oops, that cerr line was a debug line that wasn’t removed. I’ll push a  
fix  
for that in a second.

Tom
