discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [SOLVED] pybind11 problems, gr::block undefined in gnuradio 3.10


From: Cinaed Simson
Subject: Re: [SOLVED] pybind11 problems, gr::block undefined in gnuradio 3.10
Date: Sun, 15 May 2022 16:43:07 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

Great!

It might have been a c++ compiler issue - might have needed version 11 of c++ for pybind11 and 3.10.

-- Cinaed


On 5/15/22 14:40, Tom McDermott wrote:

>>> import hpsdr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/site-packages/gnuradio/hpsdr/__init__.py", line 18, in <module>
    from .hpsdr_python import *
ImportError: generic_type: type "hermesNB" referenced unknown base type "gr::block"
>>>

The only way I found to solve this problem was to stop using Ubuntu 20.04 Focal and move to Ubuntu 22.04 Jammy. 22.04 seems to have the latest versions of the key tools, it all built, and runs correctly.

I suspect this just affects pybind11,  if so folks probably would still be able to install the OOT on the older version of Ubuntu, they just couldn't change anything that would require re-binding.

-- Tom, N5EG




reply via email to

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