Hi Tom,
I've seen this error before in conjunction with pybind11. The error
indicates that the pybind11 version for your GR install and the pybind11
version for your OOT module differ. Unfortunately, the error message is
not helpful in that case.
I assume it doesn't hurt to switch to 22.04 and not look back. However,
the issue got fixed in the process because all older pybind11 versions
got eliminated.
I ran into this issue when I tried to compile my OOT against a conda
installed GR version. I had to check which pybind11 version ships with
conda and make sure that my OOT CMake configuration points to the
correct version.
GR reports the required pybind11 version with:
```
gnuradio-config-info --pybind
```
Cheers
Johannes
On 15.05.22 23: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