[Discuss-gnuradio] Using fft::fft_complex in an out-of-tree moudle

2015-05-19 Thread Nguyễn Văn Lý
Hi all, I created an out-of-tree module for my personal project. In one block, I need to perform FFT and IFFF, so I put "*#include *" in the header file, and then declare *fft::fft_complex *d_ifft;* ​In the .cc file, I wrote *d_ifft = new fft::fft_complex(64, false, 1);​* ​Then I can compile witho

Re: [Discuss-gnuradio] Using fft::fft_complex in an out-of-tree moudle

2015-05-19 Thread Ron Economos
You have to add FFT to the top level CMakeLists.txt file. Like so: set(GR_REQUIRED_COMPONENTS RUNTIME FFT) Ron On 05/19/2015 07:56 PM, Nguye^~n Va(n Lý wrote: Hi all, I created an out-of-tree module for my personal project. In one block, I need to perform FFT and IFFF, so I put "*#include *"

Re: [Discuss-gnuradio] Using fft::fft_complex in an out-of-tree moudle

2015-05-19 Thread Nguyễn Văn Lý
Thank you Ron, I got it. Best Regards, Van-Ly Van-Ly Nguyen, Research Assistant, Signals and Systems Laboratory - SSL Faculty of Electronics and Telecommunications - FET University of Engineering and Technology - UET Vietnam National University, Hanoi - VNU Phone: (+84) 97 881 9406 On Wed, M