discuss-gnuradio
[Top][All Lists]
Advanced

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

gr::block unknown base type (was: What version of pybind for 3.10.1.1 )


From: Tom McDermott
Subject: gr::block unknown base type (was: What version of pybind for 3.10.1.1 )
Date: Sat, 14 May 2022 06:40:31 -0700


> In porting over my 3.9 OOT to 3.10,  I have the import error:
>
> >>> 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"
> >>>
>
> When I went through this back in 3.9, it was due to a version problem in pybind11.
>
> I have installed pybind11-dev version 2.5.0 from the tarball.   Ubuntu 20.04 package manager
> has reverted to 2.4.3 (after having been at 2.5.0 for awhile).
>
> Is this still a pybind11 versioning problem?  If so, what version of pybind11 should I be
> using to build my OOT for 3.10.1.1 ?
>

Update

Using Ubuntu 20.04 (focal).

The module has been tried using pybind11-dev  ver. 2.5.0 and  ver 2.9.2 from tarball without success
(gr_modtool bind works OK, cmake, make, make install works OK.  Trying to run causes the python
exception gr::block not found).

The Ubuntu 20.04 package manager provides pybind11-dev v 2.4.3 only.

Then uninstalled v 2.9.2 (which is a proper superset of 2.5.0) since 2.9.2 tarball creates an uninstall rule
( 2.5.0 does not create an uninstall rule).

Next pulled pybind11-dev  2.6.2 in from Ubuntu Impish by manipulating APT and installed
only that from the package manager, then cleaned up APT to prevent anything else from updating.

The 2.6.2 installed via APT gives exactly the same problem, gr::block exception.

Does anyone have advice on how to fix?

-- Tom, N5EG



Message ID: <Tom-McDermott/gr-hpsdr/issues/19/1126647053@github.com>


reply via email to

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