PROBLEM: Making a new signal processing block

I have tried to make a new signal processing block which that is called
divcom. It is a diversity combining technique used to mitigate the
of multi-path fading. I am trying to implement this algorithm using GNU

I made my signal processing block and I now wish to integrate this to
GNU Radio’s library. Unfortunately, I always
get the following error message upon “MAKEing” (The message below is
truncated.) In function 'divcom_rca_ff_sptr
std::vector<float, std::allocator >&, const std::vector<float,
std::allocator >&, const std::vector<float, std::allocator

&)’: error: cannot allocate an object of abstract type
./divcom_rca_ff.h:45: note: because the following virtual functions
pure within ‘divcom_rca_ff’:
/usr/local/include/gnuradio/gr_block.h:113: note: virtual int
gr_block::general_work(int, gr_vector_int&, gr_vector_const_void_star&,
make[4]: *** [divcom_rca_ff.lo] Error 1

I did the steps found in this website ( and I
just changed a few bits of the code.

My question therefore is this. Could I not allocate a NEW CLASS TYPE (in
this case divcom_rca_ff) since the function general_work from the base
gr_block is a PURE VIRTUAL CLASS?


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs