discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: Getting "referenced unknown base type gr::block"


From: Nikoloz Glonti
Subject: Re: Getting "referenced unknown base type gr::block"
Date: Fri, 27 May 2022 22:37:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

I'm using manjaro linux, the newest one.
I use version of pybind11 2.9.2, so it's new one.

On 27.05.2022 18:57, Tom McDermott wrote:


> From: Nikoloz Glonti <ng91@glonti.com>
> To: "discuss-gnuradio@gnu.org" <discuss-gnuradio@gnu.org>
> Cc: 
> Bcc: 
> Date: Thu, 26 May 2022 17:11:50 +0200
> Subject: Getting "referenced unknown base type gr::block"
> Hi everyone,
>
> I have newest gnuradio 3.10, and I'm compiling example QPSK block -
> https://wiki.gnuradio.org/index.php?title=Guided_Tutorial_GNU_Radio_in_C%2B%2B
> But when trying to run it i get following error.
>
>   File
> "/home/ng/Desktop/bloczki/gr-spektralsi/build/python/testFiltru.py",
> line 35, in <module>
>     from gnuradio import pec
>   File
> "/usr/local/lib/python3.10/site-packages/gnuradio/pec/__init__.py", line
> 18, in <module>
>      from .pec_python import *
> ImportError: generic_type: type "qpsk_demod_cb" referenced unknown base
> type "gr::block"
>
> How can i fix it?
>
> Thank You in advance
> Niko

My experience is that this is commonly caused by pybind11-dev version incompatibility.
At least version 2.5.0 is needed.     Ubuntu 20.04 provides version 2.4.3 and I have not
been successful in updating to a later version on that specific OS release.   Ubuntu 22.04 provides
more recent versions of a bunch of tools, and for me that was what was needed.

-- Tom, N5EG






reply via email to

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