I’m getting this error compiling a new file in atsc, copied from
atsc_rs_encoder.cc:
atsc_trellis_encoder.cc: In member function virtual int atsc_trellis_encoder::work(int, gr_vector_const_void_star&, gr_vector_void_star&)': atsc_trellis_encoder.cc:55: error: no matching function for call to
atsci_trellis_encoder::encode(atsc_data_segment&, const
atsc_mpeg_packet_rs_encoded&)’
./atsci_trellis_encoder.h:50: note: candidates are: void
atsci_trellis_encoder::encode(atsc_data_segment*, const
atsc_mpeg_packet_rs_encoded*)
the failing line is:
d_trellis_encoder.encode(out[i], in[i]);
in atsc_trellis_encoder.h there is:
class atsc_trellis_encoder : public gr_sync_block
{
friend atsc_trellis_encoder_sptr atsc_make_trellis_encoder();
atsci_trellis_encoder d_trellis_encoder;
atsc_trellis_encoder();
and atsci_trellis_encoder.cc,h does have class atsci_trellis_encoder
with a function ‘encode’.
Gee, it worked for cloning atsc_rs_encoder --> atsc_interleaver
–Chuck