discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why rfnoc_graph can not initialize in Gnuradio and CPP, (undefined refe


From: sp h
Subject: Why rfnoc_graph can not initialize in Gnuradio and CPP, (undefined reference)
Date: Thu, 20 Jan 2022 20:53:26 +0330

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_t device("addr=192.168.10.2");
        gr::ettus::rfnoc_graph::sptr rfnoc_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&)'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]