your _impl.cc is using old-style naming in out-of-tree-modules and their components, whilst your detect_ff.h uses the consistent new way.
I think this could be the result of using gr_modtool to generate the module skeleton, and then copy/pasting over lines from a pre-3.7 code example. Is that possible?
Also, I already pointed you to the newer guided tutorials[1], which don't build on the unmaintained gr-howto example. Please use these to get used to GNU Radio.
Greetings,
Marcus
[1] https://gnuradio.org/redmine/projects/gnuradio/wiki/Guided_Tutorials
On 03/29/2015 03:16 PM, Abhishek Shukla wrote:
Abhishek.Thanks in advance,Os is ubuntu 14.04. Even i have attached howto_detect_ff_impl.h, howto_detect_ff_impl.cc and howto_swig.i file.hey,I am working to make a detector block in gnuradio 3.7.1 using gr-how "out-of-tree module". I am stuck with an error during make command
abhishek@abhishek-Inspiron-N5110:~/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
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:37:5: error: 'howto_detect_ff_sptr' does not name a type
howto_detect_ff_sptr
^
/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:59:17: error: expression cannot be used as a function
d_pfa(pfa), d_L(L), d_samples(samples)
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:59:25: error: expression cannot be used as a function
d_pfa(pfa), d_L(L), d_samples(samples)
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:59:45: error: expression cannot be used as a function
d_pfa(pfa), d_L(L), d_samples(samples)
^
/home/abhishek/gr-howto/lib/howto_detect_ff_impl.cc:185: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
It seems that some mistake is there in howto_detect_ff.h file whose path is gr-howto/include/howto. But i am not getting what exactly it isAny solution to sort an error will be appreciated.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment