[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detec
From: |
abhishek |
Subject: |
Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block. |
Date: |
Wed, 01 Apr 2015 09:58:33 +0530 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
hey marcus,
here error given is, could not insert function, but we can according to
"http://gnuradio.org/redmine/projects/gnuradio/wiki/BlocksCodingGuide#Public-Header-Files".
Even i am not able to get last and second last error of expected "(" and
"{", but in the code all brackets are up to the mark and used properly.
address@hidden:~/gr-howto/build$ make
Scanning dependencies of target gnuradio-howto
[ 5%] Building CXX object
lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o
In file included from
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:27:0:
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:40:7: error:
‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’
cannot be overloaded
howto_detect_ff_impl(float pfa, int L, int samples);
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:37:6: error: with
‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’
howto_detect_ff_impl (float pfa, int L, int samples);
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:37:27: error:
prototype for ‘gr::howto::howto_detect_ff::sptr
gr::howto::howto_detect_ff::make(float, int, int)’ does not match any in
class ‘gr::howto::howto_detect_ff’
howto_detect_ff::sptr howto_detect_ff::make(float pfa, int L, int
samples)
^
In file included from
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.h:24:0,
from
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:27:
/home/abhishek/gr-howto/include/howto/howto_detect_ff.h:49:19: error:
candidate is: static gr::howto::howto_detect_ff::sptr
gr::howto::howto_detect_ff::make()
static sptr make();
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc: In constructor
‘gr::howto::howto_detect_ff_impl::howto_detect_ff_impl(float, int, int)’:
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:57:71: warning:
extended initializer lists only available with -std=c++11 or
-std=gnu++11 [enabled by default]
gr::io_signature::make (MIN_OUT, MAX_OUT, sizeof(float)),
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:66:5: error:
expected ‘)’ before ‘(’ token
(howto_detect_ff_impl()::~howto_detect_ff_impl())
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:187:1: error:
expected ‘{’ before ‘}’ token
} /* namespace howto */
^
make[2]: ***
[lib/CMakeFiles/gnuradio-howto.dir/howto_detect_ff_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-howto.dir/all] Error 2
make: *** [all] Error 2
Could you please help me out with all individual errors. Attachment of
al the 3 files are provided.
Thanks in advance,
Abhishek.
howto_detect_ff_impl.cc
Description: Text Data
howto_detect_ff_impl.h
Description: Text Data
howto_detect_ff.h
Description: Text Data
- Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.,
abhishek <=