[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Block not found in module although it is there
From: |
Vasil Velichkov |
Subject: |
Re: Block not found in module although it is there |
Date: |
Wed, 5 May 2021 18:08:05 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
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