|
From: | Beckmann, Niklas |
Subject: | AW: Import Error "undefined symbol" |
Date: | Mon, 20 Mar 2023 17:19:00 +0000 |
Hi, thank you very much. Your hints helped me towards the right direction. I added: "find_package(Gnuradio "3.10" REQUIRED fft blocks analog filter digital) " to the CMakeLists.txt in gr-mymodule and i added "target_link_libraries(gnuradio-mymodule gnuradio::gnuradio-runtime
gnuradio::gnuradio-fft gnuradio::gnuradio-blocks gnuradio::gnuradio-analog gnuradio::gnuradio-filter gnuradio::gnuradio-digital)"
If I now do "import mymodule" in a python terminal, it works now, but... I am not able to open gnuradio anymore:
<<< Welcome to GNU Radio Companion 3.10.5.0 >>>
Block paths:
/home/niklas/.grc_gnuradio
/usr/share/gnuradio/grc/blocks
/usr/local/share/gnuradio/grc/blocks
Loading: "/home/niklas/Workspace/Niklas_flowgraphs/Transceiver_Station_1.grc"
Segmentation fault (core dumped)
Would be great, if anyone has an idea
Best,
Von: Philipp Niedermayer <p.niedermayer@gsi.de>
Gesendet: Montag, 20. März 2023 13:26:58 An: Beckmann, Niklas Cc: discuss-gnuradio@gnu.org; Brandon Smith Betreff: Re: Import Error "undefined symbol" It might be as simple as adding "
gnuradio::gnuradio-digital " to the "target_link_libraries " in your mymodule/lib/CMakeList.txt.Maybe you also have to adjust the "
find_package " in your mymodule/CMakeList.txt to something like "find_package(Gnuradio
"3.10" REQUIRED COMPONENTS digital) ".
From: Brandon Smith [mailto:blsmit5728@gmail.com]
Sent: Monday, March 20, 2023 at 11:37 UTC+1
Subject: Import Error "undefined symbol"
|
[Prev in Thread] | Current Thread | [Next in Thread] |