GNU Radio version
12,631
Solution 1
You can get the version number using python.
from gnuradio import gr
gr.version()
Solution 2
If you installed the complete package - not only the library - in a terminal window:
$ gnuradio-companion --version
GNU Radio Companion 3.7.2.1
or
$ gnuradio-config-info --version
3.7.2.1
Comments
-
jortiz81 about 2 years
How do I find out the version of GNU Radio that I have installed?
I would like the use their messaging libraries, but they are available on newer versions of gnuradio only and for some reason I'm getting a compilation error when I try to use the following code:
message_port_register_out(pmt::mp("out_message"));
I get the following error on compilation:
error: ‘message_port_register_out’ was not declared in this scope
It's supposed to be part of the
gr_basic_block
, which all blocks inherit from, but it's not compiling. -
jortiz81 about 11 yearsWell, what about the first part of the question. How do I find out the version of gnuradio i have installed?
-
jortiz81 about 11 yearsIt's written in the constructor of a source block.
-
Ron Dahlgren about 11 yearsNot knowing much about your particular system setup, the best I could offer is a find command. Something like
find /usr/lib -name 'lib*radio*
- this should yield you some result like libgnuradiosomething.so.3.61 or something similar. Sorry I can't be more precise here. Also check /usr/local/lib -
jortiz81 about 11 yearsCool, I will try that. Thanks Ron.
-
Marcus Müller almost 9 yearsI'm not aware of any distribution that would offer the GNU Radio library without gnuradio-config-info, but I do believe that such exists. Can you enlighten me on where that happens?
-
jcoppens almost 9 yearsWow, this was a year ago! I believe I meant that gnuradio-companion might not always be available. That's what the reply said too: The idea is that the library is always available, but not always grc. It's been a while, but I believe grc can be disabled from
configure