# Problem editing GNURadio C++ Files

**URL:** <https://www.ruby-forum.com/t/problem-editing-gnuradio-c-files/203686>\
**Category:** GNU Radio\
**Created:** [February 25, 2011, 2:36am UTC](https://www.ruby-forum.com/t/problem-editing-gnuradio-c-files/203686 "2011-02-25T02:36:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [February 25, 2011, 2:36am UTC](https://www.ruby-forum.com/t/problem-editing-gnuradio-c-files/203686/1 "2011-02-25T02:36:09Z")

</div>

Hello,

I’m interested in editing some of the source and sink .cc files.

On my older laptop I have obtained GNURadio from the terminal using the  
build instructions. I am able to locate the .cc files I am interested in  
editing.

On my newer laptop I installed GNURadio and GRC using the synaptic  
package manager. I can get GRC to work just great but I am interested in  
modifying the .cc files.

I have searched extensively in the entire file system on my new laptop  
and I cannot find the same .cc files that are on my older laptop with  
the manual installation. The only thing I could find was the header  
files and the .xml files but not the .cc C++ files.

Does anyone know if I have to work with a manual installation if I am  
interested in modifying the C++ files? Will the modified .cc files still  
work with GRC generated scripts?

The dilemma is that I like using GRC because it is easy for a beginner  
who doesn’t have much python experience but I need to make some  
modifications to some of the sink and sources like gr\_file\_source and  
gr\_file\_sink

Thanks,  
Tom

---

<div class="post-metadata">

**Author:** ![tharrisx](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19adc/32.png) [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Post date:** [February 25, 2011, 10:05am UTC](https://www.ruby-forum.com/t/problem-editing-gnuradio-c-files/203686/2 "2011-02-25T10:05:59Z")

</div>

On Thu, Feb 24, 2011 at 05:34:43PM -0800, Tom H. wrote:

> I’m interested in editing some of the source and sink .cc files.

If you want to change files that belong to the core of GNU Radio, then  
yes, you need to install from source. But don’t worry, it’s really  
painless, and GRC should work as well. configure will tell you if you  
have all the stuff you need to build GRC.

MB

> files but not the .cc C++ files.
> 
> Does anyone know if I have to work with a manual installation if I am  
> interested in modifying the C++ files? Will the modified .cc files still work  
> with GRC generated scripts?
> 
> The dilemma is that I like using GRC because it is easy for a beginner who  
> doesn’t have much python experience but I need to make some modifications to  
> some of the sink and sources like gr\_file\_source and gr\_file\_sink

–  
Karlsruhe Institute of Technology (KIT)  
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.  
Research Associate

Kaiserstraße 12  
Building 05.01  
76131 Karlsruhe

Phone: +49 721 608-43790  
Fax: +49 721 608-46071  
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and  
National Laboratory of the Helmholtz Association
