Hi sp h,
we don't know how you're building this. You'll need to provide us with a minimal viable
example that triggers this and we could do ourselves.
Also, you need to make sure to link against gr-ettus. It seems you're not doing this
correctly; again, we don't know how you're building this, so it's hard to advise.
Best regards,
Marcus
On 20.01.22 18:23, sp h wrote:
Why rfnoc_graph can not initialize in Gnuradio and CPP, I was faced with
some undefined symbol errors...
I include these header files and below is the source file...
#include<ettus/rfnoc_block.h>
#include<ettus/rfnoc_graph.h>
#include<ettus/rfnoc_block_generic.h>
#include<uhd/rfnoc_graph.hpp>
const::uhd::device_addr_tdevice("addr=192.168.10.2");
gr::ettus::rfnoc_graph::sptrrfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device);
But when i want to compile it...I was faced with some erros...how can I solve
problems....thanks in advance
*error: undefined reference to `gr::ettus::rfnoc_graph::make(uhd::device_addr_t
const&)'*