[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Block missing GNU Radio Companion

From: Josh Blum
Subject: Re: [Discuss-gnuradio] Block missing GNU Radio Companion
Date: Mon, 24 Sep 2012 08:57:39 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0

On 09/24/2012 01:49 AM, Jose Torres Diaz wrote:
> Hi,
> I made a new block called "my_block", copying the example "blob_to_stream"
> provided in grcextras. I changed the files .cc, .h and .xml. Also, I added
> some lines in the CMakeList.txt files in the path:
> /grc
> /include/gnuradio/extras
> /lib
> Then, I compiled using:
> build/ sudo cmake ../
> build/ sudo make check
> build/ sudo make install


I hope that you figured out the swig issue earlier!

> The problem is that I cannot see the block under "Extras" in GNU Radio
> Companion, however when I search (ie. when I type the name in GRC) "my
> block" in GNU Radio Companion the block is there. Anyone has faced
> something like this before? Do I need to change any other file for the
> compiling?

There is a category needed for each block. A category can be a tag in
the block, or an entry is a special block tree:

Here is an example:
        <name>SCCC Decoder</name>
        <category>Error Correction/Trellis</category>
        <import>from gnuradio import trellis</import>

A little more here:


reply via email to

[Prev in Thread] Current Thread [Next in Thread]