Re: Why rfnoc_graph can not initialize in Gnuradio and CPP,(undefined reference)

2022-01-21 Thread sp h
Thanks, Marcus Müller, finally I concluded that linker can not find the lib files for gr-ettus. Same Gnuradio package like Gnuradio-analog and son on...I added a pkconfig file to pkgconfig folders... I attached the file. now with pkgconfig command, I can see the lib info (in this situation gnuradio

Re: Why rfnoc_graph can not initialize in Gnuradio and CPP, (undefined reference)

2022-01-20 Thread Marcus Müller
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,

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

2022-01-20 Thread sp h
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 #include #include #include const::uhd::device_addr_t device("addr=192.168.10.2"); gr::ettus::rfnoc_grap