Thursday, November 21, 2024

Re: gr-display "import display" causes error

Start with a fresh installed gnuradio, that is there should be no
occurrencies of libgnuradio-display*

What is the result of

gnuradio-config-info --prefix
Then go to the build directory of gr-display.

Why did your cmake -DCMAKE_INSTALL_PREFIX...... failed?
Did you miss the ../ ?

To be sure that you run the correct cmake run

cmake -DCMAKE_INSTALL_PREFIX=`gnuradio-config-info --prefix` ../

What is the output of this command ?
If there are errors, fix!

If there are no errors, run

make

If there are erros, fix!

The you can run

sudo make install

-- Volker



> I have installed gr-display and added it to my flowgraph. When I run the
> flowgraph I get the following:
> Traceback (most recent call last):
>   File "/home/wa4ywm/Softrock/Softrock_FT8.py", line 26, in <module>
>     import display
>   File "/usr/local/lib/python3.11/dist-packages/display/__init__.py",
> line 22, in <module>
>     from .display_python import *
> ImportError: libgnuradio-display.so.3.10.0: cannot open shared object
> file: No such file or directory
> Note that when I performed the build I used the instructions in the
> README file. The "cmake –DCMAKE_INSTALL_PREFIX = " failed. So I used
> cmake ../ to build the OOT.
> Thanks for any help.
> Jim

No comments:

Post a Comment