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-ettus). in CPP project now everything is ok.
pkg-config --modversion gnuradio-ettus 3.8.1 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
gnuradio-ettus.pc
Description: Binary data