# Code::blocks gnuradio project examples

**URL:** <https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561>\
**Category:** GNU Radio\
**Created:** [April 15, 2015, 11:55am UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561 "2015-04-15T11:55:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [April 15, 2015, 11:55am UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561/1 "2015-04-15T11:55:38Z")

</div>

Hi, I am new to Gnuradio, just created a code::blocks project for the  
GNURadio, is there an example sub-project in the code::blocks source  
tree I could start play with?

thanks,

---

<div class="post-metadata">

**Author:** ![Trek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@Trek](https://www.ruby-forum.com/u/Trek)\
**Post date:** [April 15, 2015, 3:24pm UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561/2 "2015-04-15T15:24:07Z")

</div>

We have this page:  
[https://gnuradio.org/redmine/projects/gnuradio/wiki/UsingCB](https://gnuradio.org/redmine/projects/gnuradio/wiki/UsingCB)

M

---

<div class="post-metadata">

**Author:** ![Trek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@Trek](https://www.ruby-forum.com/u/Trek)\
**Post date:** [April 16, 2015, 4:25pm UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561/3 "2015-04-16T16:25:56Z")

</div>

Greetings, As I asked last week (thanks for the responses); I wanted to  
begin using Pybombs and get on board with the new work. I decided to  
start with a clean slate. Downloaded and Installed Ubunto 12.04 Desktop  
LTS (Long Term Supported)-did not choose developer thinking Pybombs will  
go get what it needs.Downloded and installed Pybombs into my  
~/home/xxxxx/pybombs -git clone git://github.com/pybombs/pybombs  
-cd pybombs  
-./pybombs install gnuradio A few hours later I ran (hurts to have a  
1meg link in rural america and 240m at work) ./pybombs env Then: I did a  
./pybombs list and had gnuradio and lots of libs (Yea!). I went looking  
for setup\_env.sh and could not find it. The only executable .sh is  
named "jenkins.sh"I went looking for gnuradio-companion with find (from  
/) and did not find it. So I went to bed. I keeping pretty good notes,  
so will publish the findings here or on the wiki later.if you have notes  
I’m glad to add those too… (my email address is my callsign  
@att.net) Looking for some advice for this evening’s work. Gregnz8r

---

<div class="post-metadata">

**Author:** ![Trek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@Trek](https://www.ruby-forum.com/u/Trek)\
**Post date:** [April 16, 2015, 4:48pm UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561/4 "2015-04-16T16:48:21Z")

</div>

Hi Gregory,  
if you wanted to start with a clean slate, why did you chose a two-years  
obsolete LTS version?  
Current Ubuntu LTS is 14.04, and I would strongly have recommended using  
that (sorry to say this afterwards) since it would have saved you a lot  
of things you needed to download and build from source, since the 12.04  
versions are too old to work with GNU Radio…

However, it seems you got it to build, which really is nice to hear!

So, during your pybombs run, it asked you about an installation prefix.  
If you look there, you should find directories like “bin” and “lib”;  
look into bin for your gnuradio-companion executable 🙂

now, regarding your environment script:  
./pybombs env  
will write a $prefix/setup\_env.sh . If you then edit (or create, if it  
doesn’t exist) your /home/youruser/.bashrc, [1] and add a

source /path/to/prefix/setup\_env.sh

and open up a new terminal window after saving that, you should be using  
a system configured to find all your shiny newly built software 🙂

Best regards,  
Marcus

[1] [http://gnuradio.org/redmine/projects/pybombs/wiki/Using#pybombs-env](http://gnuradio.org/redmine/projects/pybombs/wiki/Using#pybombs-env)

---

<div class="post-metadata">

**Author:** ![Trek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/7feea3/32.png) [@Trek](https://www.ruby-forum.com/u/Trek)\
**Post date:** [April 16, 2015, 8:28pm UTC](https://www.ruby-forum.com/t/code-blocks-gnuradio-project-examples/241561/5 "2015-04-16T20:28:28Z")

</div>

Hi Greg,

sorry to bother you again; I was just reminded that 12.04LTS indeed is  
fully endorsed by GNU Radio. It was just my personal preference to use  
the latest version of distros that made me a bit confused about the  
current support state of 12.04.

best regards,  
Marcus
