|
From: | Marcus Müller |
Subject: | Re: Why rfnoc_graph can not initialize in Gnuradio and CPP, (undefined reference) |
Date: | Thu, 20 Jan 2022 23:13:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 |
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&)'*
[Prev in Thread] | Current Thread | [Next in Thread] |