[Top][All Lists]

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

Re: OOT tests failing in GNU Radio, Ubuntu 20.04.2 LTS

From: Vasil Velichkov
Subject: Re: OOT tests failing in GNU Radio, Ubuntu 20.04.2 LTS
Date: Tue, 29 Jun 2021 19:33:42 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1

Hi Anton,

On 29/06/2021 19.07, Anton Ottosson wrote:
> Thank you for so generously taking time out of your day to look at this. I 
> agree with your analysis and have now submitted an issue 
> (https://github.com/gnuradio/gnuradio/issues/4825) about this to the GNU 
> Radio GitHub repository.

Nice. Thanks for opening an issue.

> However, it seems like I might have found an additional issue, possibly 
> related. I wanted to make progress with the OOT tutorial 
> (https://wiki.gnuradio.org/index.php/OutOfTreeModules), so i used Ron's 
> suggested workaround with installing the module to get the tests to work. The 
> new issue appears a bit later in the tutorial, when we attempt to add another 
> block to the module. Instead of me describing it here, I have once again set 
> up a GitHub repository (https://github.com/antonott/oot_tutorial_issue) to 
> illustrate the problem. The README describes the process, and of course the 
> rest of the repo contains the state of the module.

First check that you have `square2_ff_pydoc.h` file in `build/python/bindings` 
directory and if not run `make clean` and `make`. But if there is a 
`square2_ff_pydoc.h` then run `make VERBOSE=1` and check that an include flag 
(`-I`) that contains the full path to `build/python/bindings` is present.

I'm able to successfully build your oot_tutorial_issue on Fedora 35 with 
gnuradio and pybind 2.6.2-3. Here is the relevant part of `make 

[ 70%] Building CXX object 
cd /home/test/oot_tutorial_issue/build/python/bindings && /usr/bin/c++ 
-I/home/test/oot_tutorial_issue/lib/../include -isystem 
/usr/lib64/python3.10/site-packages/numpy/core/include -isystem 
/usr/include/python3.10 -O3 -DNDEBUG -fPIC -fvisibility=hidden   
-fvisibility=hidden -Wno-unused-variable -flto -fno-fat-lto-objects 
-std=gnu++14 -MD -MT 
python/bindings/CMakeFiles/howto_python.dir/square2_ff_python.cc.o -MF 
CMakeFiles/howto_python.dir/square2_ff_python.cc.o.d -o 
CMakeFiles/howto_python.dir/square2_ff_python.cc.o -c 


reply via email to

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