discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Problem migrating an OOT module that uses FFT from 3.8 to 3.9


From: Ron Economos
Subject: Re: Problem migrating an OOT module that uses FFT from 3.8 to 3.9
Date: Sat, 29 Jan 2022 12:35:27 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

Ralf,

I'm not sure if you've done this already, but when you use d_fft_calculator, you need to change from -> to . to access it.

Ron

On 1/29/22 12:24, Ralf Gorholt wrote:
Hello all,

I am currently trying to migrate an OOT module that uses an FFT object
internally from  GNU Radio version 3.8 to 3.9.

In my .h file I have got this:

    //old: gr::fft::fft_complex d_fft_calculator;
    gr::fft::fft_complex_fwd d_fft_calculator;

and in the constructor member initializer list this:

      //old: d_fft_calculator(gr::fft::fft_complex(pow(2.0, 10 + mode),
true, 1)),
      d_fft_calculator(pow(2.0, 10 + mode), 1),

The module compiles without a problem but when I start the flowgraph I
get the message "ImportError: /usr/local/lib/libgnuradio-dl5eu.so.1.0.0:
undefined symbol: _ZN2gr3fft3fftISt7complexIfELb1EED1Ev". It looks to me
that somewhere "fft_complex" is still called behind the scenes but I
can't see where.

Can anyone tell me how I need to correct this?

FYI, I have recreated the module and the blocks with gr_modtool and then
copied the relevant code from the old to the new version.

Thank you very much and kind regards,

Ralf




reply via email to

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