discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: module SWIG disabled when running cmake


From: Michelle
Subject: Re: module SWIG disabled when running cmake
Date: Thu, 13 Jan 2022 15:36:09 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hello Marcus,
No I didn't.
Thank you very much, the test passed :)

On 2022-01-13 1:45 p.m., Marcus Müller wrote:
Hi Michelle!
looking at this:
have you re-run cmake, and make, before doing ctest?

Best regards,
Marcus

On 13.01.22 19:33, Michelle wrote:
Hi Marcus :)

I installed swig ( SWIG Version 4.0.1) but when I make the test I still have the same issue:

$ ctest -V -R sig_source
UpdateCTestConfiguration  from :/home/michelle/gr-signalSource/build/DartConfiguration.tcl UpdateCTestConfiguration  from :/home/michelle/gr-signalSource/build/DartConfiguration.tcl
Test project /home/michelle/gr-signalSource/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
     Start 1: qa_sig_source

1: Test command: /usr/bin/sh "/home/michelle/gr-signalSource/build/python/qa_sig_source_test.sh"
1: Test timeout computed to be: 10000000
1: Traceback (most recent call last):
1:   File "/home/michelle/gr-signalSource/python/qa_sig_source.py", line 24, in <module>
1:     import signalSource_swig as signalSource
1: ModuleNotFoundError: No module named 'signalSource_swig'
1/1 Test #1: qa_sig_source ....................***Failed    0.24 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.24 sec

The following tests FAILED:
       1 - qa_sig_source (Failed)
Errors while running CTest

On 2022-01-13 12:44 p.m., Marcus Müller wrote:
Hi Michelle,

On 13.01.22 18:41, Michelle wrote:
Good morning Marcus,

Hello Marcus,
I believe that installing swig is a prerequisite for installing gnuradio.

No, it's only necessary for *building* GNU Radio binaries (For GNU Radio 3.7 and 3.8).

When I execute locate swig I get the output below so I must have a version of swig.

No, these are just swig bindings, not the swig program itself.

However when I execute swig -version I get "Command 'swig' not found, but can be installed with: sudo apt install swig".
So I don't know what to do.


Install swig :)

Best regards,
Marcus



reply via email to

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