discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] creating block using gr_modtool.py


From: Marcus Müller
Subject: Re: [Discuss-gnuradio] creating block using gr_modtool.py
Date: Wed, 07 Aug 2013 02:54:16 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

Hi Dilip,

3.3.0 is an old version of gnuradio. The code you posted clearly contains GR 3.7 code structure;
so you're using an 3.7 gr_modtool with an 3.3.0 GNU Radio; this can't work.

Please use the gr_modtool that comes with your GNU Radio version (there was no official gr_modtool back in the 3.3.0
days in the GR tree). It is not desirable to use such an old version of GR unless you _really_ need to support legacy code, therefore you should try to use GNU Radio 3.7; please install the latest versions using PyBOMBS (http://gnuradio.org/redmine/projects/pybombs/wiki) or build-gnuradio (http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR#Using-the-build-gnuradio-script).

Happy exploring,
Marcus Müller

On 08/07/2013 12:41 AM, dilip thapa wrote:
Hi,
 
I am working with gnuradio 3.3.0 and now trying to create new block using gr_modtool.py.
I am able to do following :
  1. cmake
  2. make
  3. sudo make install
  4. sudo ldconfig
after editing header file of bin and lib with .cc file.
Then while using newly created block with GRC I got following error
 

def __init__(self, *args, **kwargs): raise AttributeError(“No constructor defined”) AttributeError: No constructor defined

Detail I have posted here. Is this error due to lower version of GNURadio, if not how can I solve this.
Please help me out. 
 
Sent from Windows Mail
 


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


reply via email to

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