[Top][All Lists]

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

Re: [Discuss-gnuradio] max_streams problem in own module

From: Eric Blossom
Subject: Re: [Discuss-gnuradio] max_streams problem in own module
Date: Thu, 3 Mar 2005 10:14:36 -0800
User-agent: Mutt/1.5.6i

On Thu, Mar 03, 2005 at 10:34:15AM -0500, Charles Clancy wrote:
> >Did you follow the examples in gr-howto-write-a-block?
> > http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html
> > ftp://ftp.gnu.org/gnu/gnuradio/gr-howto-write-a-block-0.2.tar.gz
> The massive automake/autoconf structure made adapting the tar.gz 
> version very difficult to work with.  I reverse engineered the 
> post-configured makefiles and figured out exactly what commands I 
> needed, and went from there.  I copied the code structure from the 
> howto_square module, and double-checked against some of the 
> gnuradio-core modules.

Surrender to the autotools...

Most of it is boilerplate.   You can use it as is.
The relevant files are configure.ac and the Makefile.am's.
All the rest are generated from them.

Now back to your immediate concern:

Try this, only use your new block instead of howto.square_ff.
How does it print?  Note that this prints <gr_block square_ff (0)>
Yours should print something very similar.  If it doesn't, there's
probably something wrong with your .i file.

address@hidden gr-howto-write-a-block]$ python
Python 2.3.4 (#2, Aug 19 2004, 15:49:40)
[GCC 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from gnuradio import howto
>>> howto.square_ff()
<gr_block square_ff (0)>


reply via email to

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