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 > Discuss-gnuradio@gnu.org > 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. _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio