Hi,

I try to add all it needs to put my custom block into this module. I add
the corresponding .xml/.cc/.h/.i files into grc/lib/swig folder
separately and modify MakeFile.am files in each folders. However, it
still cannot work. When generating top_block.py in GRC, the console
says:
        self.myblock_amplifier_ff_0 = myblock.amplifier_ff(1)
        AttributeError: 'module' object has no attribute 'amplifier_ff'

My block is a simple amplifier with a parameter "Gain". My module is
"myblock" generated with the out-of-tree-project command. I tried the
square_ff block before and it works well in GRC. What does this error
exactly mean?

Thank you.


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to