|
From: | Nikoloz Glonti |
Subject: | Re: Getting "referenced unknown base type gr::block" |
Date: | Sat, 28 May 2022 00:36:22 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
That was the right guess!!
I used just 11 version:
export
CC=/usr/bin/gcc-11
export
CXX=/usr/bin/g++-11
Hi Nikoloz - my guess is you may need to install version 11 of C++.
-- Cinaed
On 5/27/22 13:37, Nikoloz Glonti wrote:
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 notbeen successful in updating to a later version on that specific OS release. Ubuntu 22.04 providesmore recent versions of a bunch of tools, and for me that was what was needed.
-- Tom, N5EG
[Prev in Thread] | Current Thread | [Next in Thread] |