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
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?
build/ sudo cmake …/
build/ sudo make check
build/ sudo make install
Jose,
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:
SCCC Decoder
trellis_sccc_decoder_x
Error Correction/Trellis
from gnuradio import trellis