On Thu, Jun 19, 2014 at 3:47 PM, Hoang Ngo Khac <khachoang1...@gmail.com>
wrote:

> Dear all,
>
> I'm writing an out-of-tree C++ block performing some PSK mapping method
> (BPSK, QPSK. 16PSK, 256PSK). I got this error when running make command:
>
>  /home/khachoang/gr-Hoang/lib/Digital_Mapper_impl.cc:36:5: error:
>> prototype for ‘gr::Hoang::Digital_Mapper::sptr
>> gr::Hoang::Digital_Mapper::make(int)’ does not match any in class
>> ‘gr::Hoang::Digital_Mapper’
>> /home/khachoang/gr-Hoang/include/Hoang/Digital_Mapper.h:49:19: error:
>> candidate is: static gr::Hoang::Digital_Mapper::sptr
>> gr::Hoang::Digital_Mapper::make()
>
>

Chances are, when you created this block using gr_modtool, you didn't
specify any argument.
But later you decided to add the argument "int mapping_mode", you did this
by amending "Digital_Mapper_impl.h" and "Digital_Mapper_impl.cc" but
forgotten to look into the file "include/Hoang/Digital_Mapper.h"

If this is the case, the easiest solution is to remove and recreate this
block, both by using gr_modtool, but ensure to specify the argument "int
maping_mode" during the block creation wizard.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to