Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GNU Radio version

Tags:

c++

gnuradio

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.

like image 658
jortiz81 Avatar asked May 15 '13 00:05

jortiz81


2 Answers

You can get the version number using python.

from gnuradio import gr
gr.version()
like image 81
Ben Reynwar Avatar answered Sep 22 '22 22:09

Ben Reynwar


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
like image 41
jcoppens Avatar answered Sep 24 '22 22:09

jcoppens