[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Error while compiling a processing block
From: |
Francesco B. |
Subject: |
Re: [Discuss-gnuradio] Error while compiling a processing block |
Date: |
Fri, 31 Oct 2008 20:23:20 -0700 (PDT) |
Here's the .i file I was using:
http://www.nabble.com/file/p20277262/randsig.i randsig.i
Based on what you said, I changed the line "randsig_source_ff_sptr
randsig_make_source_ff ();" to "randsig_source_ff_sptr
randsig_make_source_ff (double sampling_freq);", and "randsig_source_ff ();"
to "randsig_source_ff (double sampling_freq);"
The same error messages are present.
Karthik Vijayraghavan wrote:
>
> Did you make the appropriate changes to the .i files ? You also need to
> include your .h file in Makefile.am if I am not mistaken.
>
> In randsig.i you need to have something like
>
> #include "randsig_source_ff.h"
>
> GR_SWIG_BLOCK_MAGIC(randsig,source_ff);
>
> randsig_source_ff_sptr randsig_make_source_ff(double sampling_freq);
>
> class randsig_source_ff : public gr_sync_block
> {
> private:
>
> public:
> Whatever you want to access from outside
> };
>
> Karthik
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
--
View this message in context:
http://www.nabble.com/Error-while-compiling-a-processing-block-tp20267377p20277262.html
Sent from the GnuRadio mailing list archive at Nabble.com.