[Top][All Lists]

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

Re: [Discuss-gnuradio] ctest can't find gnuradio module !

From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] ctest can't find gnuradio module !
Date: Tue, 15 Jul 2014 10:29:19 -0400

On Tue, Jul 15, 2014 at 9:50 AM, mohamedx <address@hidden> wrote:
Hi Tom,

Thank you for your prompt response.
I use 3.7.3 version, I've installed it from the source.
Here is what "cmake -Wno-dev ../" returns:
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   filesystem
--   system
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   package 'gnuradio-runtime' not found
 * INCLUDES=/usr/local/include
 * LIBS=/lib64/libgnuradio-runtime.so
-- Configuring done
-- Generating done
-- Build files have been written to: /xxxxxxxxxxxx/build
So there is no "testing support", and yes, I'm running ctest within build directory.
This a little bit strange, cmake didn't find the runtime for the first place !

I appreciate anything would help.

This doesn't make sense. This looks like you're trying to build your own OOT module, not GNU Radio itself. So are you trying to run ctest on your own code or actually run GNU Radio's test suite?

And what's happening with the "package 'gnuradio-runtime' not found' is that pkg-config is not finding the .pc file, which means it's not in a path known to it (see PKG_CONFIG_PATH). However, cmake continued to look explicitly for the headers and libraries and found them, which is why GNURADIO_RUNTIME_FOUND = TRUE.

It's very odd that you have the headers in /usr/local and the library in /lib64, though. I'm thinking that this might have something to do with your ctest issue.


On Tue, Jul 15, 2014 at 3:21 PM, Tom Rondeau-2 [via GnuRadio] <[hidden email]> wrote:
On Tue, Jul 15, 2014 at 8:51 AM, mohamedx <[hidden email]> wrote:
Hi there,

Could someone help me fix this issue, when I try to run my tests, the ctest
returns the following:
from gnuradio import gr, gr_unittest
ImportError: No module named gnuradio
Nonetheless, when I import any module from gnuradio in python terminal, it
passes without any problem, and I can also run gnuradio-companion ! which I
found very strange.

Thank you in advance.

What version of GNU Radio? And how did you install it in the first place? When you ran cmake, did you see that "testing-support" was enabled? And, just to make sure, you are running ctest within the build directory, right?


Discuss-gnuradio mailing list
[hidden email]

If you reply to this email, your message will be added to the discussion below:
To unsubscribe from ctest can't find gnuradio module !, click here.

Graduate Student at Supélec, MSc, Advanced Wireless Communication Systems,
Élève ingénieur à l'INPT en mobilité internationale.

View this message in context: Re: ctest can't find gnuradio module !

Sent from the GnuRadio mailing list archive at Nabble.com.

Discuss-gnuradio mailing list

reply via email to

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