GNU Radio version

jortiz81 picture jortiz81 · May 15, 2013 · Viewed 10.1k times · Source

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.

Answer

Ben Reynwar picture Ben Reynwar · May 15, 2013

You can get the version number using python.

from gnuradio import gr
gr.version()