discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] prototype for make() does not match any in class


From: Activecat
Subject: Re: [Discuss-gnuradio] prototype for make() does not match any in class
Date: Thu, 19 Jun 2014 16:24:13 +0800


On Thu, Jun 19, 2014 at 3:47 PM, Hoang Ngo Khac <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]