如何找到我安装的 GNU Radio 的版本?
我想使用他们的消息传递库,但它们仅在较新版本的 gnuradio 上可用,并且由于某种原因,当我尝试使用以下代码时出现编译错误:
message_port_register_out(pmt::mp("out_message"));
我在编译时收到以下错误:
error: ‘message_port_register_out’ was not declared in this scope
它应该是 的一部分gr_basic_block
,所有块都从它继承,但它没有编译。