discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Problem in grc while importing howto


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Problem in grc while importing howto
Date: Wed, 9 Feb 2011 07:33:09 -0500

On Tue, Feb 8, 2011 at 9:34 PM, abhijeet mate <address@hidden> wrote:
> Hi,
>  I am trying to create a new block 'detector' in GRC. I have added all the 3
> files .cc,.h and .i into /gnuradio-3.3.0/gnuradio-core/src/lib/gengeral and
> did the changes in Makefile.am and added a xml file
> in /gnuradio-3.3.0/grc/blocks and did the changes in Makefile.am. Three file
> are howto_detect_ff.cc, howto_detect_ff.h and howto.i. The block got added
> now but now when I try to run receiver.grc file it gives me error that
> from gnuradio import howto
> ImportError: cannot import name howto
> Can anyone help me with this.
> Thank you,
> Abhijeet.


Abhijeet,
If you have put all of this into the gnuradio-core/ directory, then
the blocks will be built as part of the gnuradio module. That is, you
should be able to find your block after doing a "from gnuradio import
gr".

Tom



reply via email to

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