Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-04-06 Thread Abhishek Shukla
hey marcus, For that block, now i get the following error whenever i execute the flowgraph in GRC. File "/home/abhishek/top_block.py", line 53, in __init__ self.howto_detect_ff_0 = howto.detect_ff(100, 16, 1500) AttributeError: 'module' object has no attribute 'detect_ff' >>> Done Any help

Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-04-06 Thread Marcus Müller
Hi Abishek, ah, in that case you'll need to tell your build system to link against GSL. To do that, you will have to add GSL finding ability to your OOT's /CMakeLists.txt and use the found library in lib/CMakeLists.txt. Luckily, gr-wavelet already does this, so you'll basically just have to copy o

Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-04-05 Thread Abhishek Shukla
hey happy easter:) I generated module using gr-modtool as shown in " https://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModules"; latter, as gsl_matrix , gsl_vector and gsl_linalg were required for my code I installed libgsl0-dev and all its related file through sudo apt-get install..

Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-04-05 Thread Marcus Müller
Hey Abishek, happy easter. How did you you generate your module? gr_modtool? Does it use any matrix methods from GSL? Greetings, Marcus On 04/05/2015 05:25 PM, Abhishek Shukla wrote: > hey Marcus, > Now, I am able to import detect_ff block. But while running an example > using that block, i am st

Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-04-01 Thread Marcus Müller
Hi Abhishek, that guide refers to a somewhat outdated API, so it doesn't apply to your case (that guide refers to an architecture where there was no separate _impl class). Have you read the guided tutorials and their chapter on C++ blocks? It's explaining how you can add functions to blocks. I'd

Re: [Discuss-gnuradio] \"make\" error while making detector (howto_detect_ff) block.

2015-03-31 Thread abhishek
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 t

Re: [Discuss-gnuradio] "make" error while making detector (howto_detect_ff) block.

2015-03-29 Thread Marcus Müller
Hi Abhishek, 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.

[Discuss-gnuradio] "make" error while making detector (howto_detect_ff) block.

2015-03-29 Thread Abhishek Shukla
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-ho