discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Block not found in module although it is there


From: Ralf Gorholt
Subject: Re: Block not found in module although it is there
Date: Wed, 5 May 2021 17:42:07 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

Hello Vasil,

thank you very much, this seems to solve the problem and I now know
where to look the next time :-)

Kind regards,

Ralf

Am 05.05.2021 um 17:08 schrieb Vasil Velichkov:
Hi Ralf,

On 05/05/2021 17.38, Ralf Gorholt wrote:
AttributeError: module 'dl5eu' has no attribute 'dvbt_ofdm_synchronization'
Can anybody give me a hint what is happening here?
You most probably need to link the gnuradio's fft component to your OOT block. In your 
CMakeLists.txt find the line that contains `find_package(gnuradio  "3.8" ...` 
and add fft to the list of components. It should looks like this

   find_package(Gnuradio "3.8" REQUIRED COMPONENTS blocks filter fft)

and then in lib/CMakeLists.txt you need to link the gnuradio-fft. Something 
similar to

   target_link_libraries(dl5eu gnuradio::gnuradio-runtime 
gnuradio::gnuradio-fft)

Also open python/__init__.py and

except ImportError:

to

except ModuleNotFoundError:

You can find some more info in 
https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide#GNU_Radio_Components

Regards,
Vasil




reply via email to

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