discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: OOT module problem


From: David Martini
Subject: Re: OOT module problem
Date: Sun, 15 May 2022 10:24:33 +0200

Hi,

Thank you for your help.
I followed your instructions but I got the same error.
Executing: /usr/bin/python3 -u /home/david/bravo.py
""
Traceback (most recent call last):
  File "/home/david/bravo.py", line 35, in <module>
    import test_001
ModuleNotFoundError: No module named 'test_001'
""
>>> Done (return code 1)
I'm using gcc under linux.
gnuradio is 3.8.1.0 (Python 3.8.10)
No error during compilation process.
I attached this mail c source code and yml files.

thank you for help.

David



Il giorno dom 15 mag 2022 alle ore 09:22 user 1 <gnuradio@onditech.com> ha scritto:
Hi,

I suppose you use gcc under Linux.

Il line, try to go to the build directory of your module:

~/gnuradio/my_module/build

Then enter:

cmake ../

make -B

sudo make install

sudo ldconfig


The -B option of make (Unconditionnaly make all targets) is important to
include all your files in the process.

Tell us the result.

Good Luck !


--------------------------


Le 13/05/2022 à 18:34, David Martini a écrit :
> Dear Community,
>
> I'm starting to learn how to write an OOT module.
> I'm following the tutorial : all the compilation process go well but
> When I try to run my module i get the following error import test_001
> ModuleNotFoundError: No module named 'test_001'
>
> The module is present in the block list. see the attached picture.
>
> I'm not able to understand where the problem is....
>
> Thank you for help
>
> David
>

Attachment: square2_ff_impl.cc
Description: Text Data

Attachment: test_001_square2_ff.block.yml
Description: application/yaml


reply via email to

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