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: Marcus Müller
Subject: Re: Getting "referenced unknown base type gr::block"
Date: Fri, 27 May 2022 23:22:14 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

Sad, that rules out my first guess!
But I just realized that this tutorial is for GNU Radio 3.8, which you don't have if you've got a fresh Manjaro installation! Yay! (There's a small warning in the beginning of that page, but it could be more prominent.)

So, maybe rather follow the official C++ guide from the GNU Radio academy on https://tutorials.gnuradio.org.

That guide is a bit better illustrated and actually tested with modern GNU Radio :) and can be found under:

https://wiki.gnuradio.org/index.php?title=Creating_c%2B%2B_OOT_with_gr-modtool

Best regards,
Marcus

On 27.05.22 22:39, Nikoloz Glonti wrote:
I was using only one version of Gnuradio - it was fresh install of GR on 
Manjaro(newest one).

Niko

On 26.05.2022 23:17, Marcus Müller wrote:
Hi Niko,

this looks strange.
The most likely explanation is that you might be mixing some different versions/installations of GNU Radio. Would that be possible?

Best regards,
Marcus

On 26.05.22 17:11, Nikoloz Glonti wrote:
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







reply via email to

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