# How to replace gr\_complex\_to\_xxx

**URL:** <https://www.ruby-forum.com/t/how-to-replace-gr-complex-to-xxx/242588>\
**Category:** GNU Radio\
**Created:** [July 6, 2015, 12:32am UTC](https://www.ruby-forum.com/t/how-to-replace-gr-complex-to-xxx/242588 "2015-07-06T00:32:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [July 6, 2015, 12:32am UTC](https://www.ruby-forum.com/t/how-to-replace-gr-complex-to-xxx/242588/1 "2015-07-06T00:32:29Z")

</div>

Hi,

I am trying to migrate an OOT module written in 2010 to 3.7. I think  
(hope)  
that the final hurdle to achieving this is having to deal with  
gr\_complex\_to\_xxx that was removed in 3.7 but which is referenced in the  
code.

I have searched in vain to find out what gr\_complex\_to\_xxx did or how to  
replace it. Could someone tell me what it used to do and how I could go  
about replacing it?

Thanks  
Simon.

---

<div class="post-metadata">

**Author:** ![simon\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@simon\_k](https://www.ruby-forum.com/u/simon_k)\
**Post date:** [July 6, 2015, 12:48am UTC](https://www.ruby-forum.com/t/how-to-replace-gr-complex-to-xxx/242588/2 "2015-07-06T00:48:15Z")

</div>

Are you referring to blocks? If so, see  
[https://gnuradio.org/redmine/projects/gnuradio/wiki/Move\_3-6\_to\_3-7](https://gnuradio.org/redmine/projects/gnuradio/wiki/Move_3-6_to_3-7)  
There’s  
a script there that will convert some GRC files, and if you don’t want  
the  
script it at least shows the name mapping in an explicit format.

On Sun, Jul 5, 2015 at 6:31 PM, Simon K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![simon\_k](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f19dbf/32.png) [@simon\_k](https://www.ruby-forum.com/u/simon_k)\
**Post date:** [July 6, 2015, 9:04pm UTC](https://www.ruby-forum.com/t/how-to-replace-gr-complex-to-xxx/242588/3 "2015-07-06T21:04:38Z")

</div>

Thanks Nathan, I had read through that link before but now realise the  
significance of its contents. I have resolved my initial question, now I  
am  
looking into another issue that is called out in that page and need to  
learn a bit more about C++ to try to get my head around it.

Simon.
