需要链接uhd库和boost_program_options库以及boost_thread库:
g++ tx_waveforms.cpp -o a -luhd -lboost_program_options -lboost_thread
版权声明:本文为博主原创文章,未经博主允许不得转载。
GCC单独编译host/examples/ tx_waveforms.cpp
原文:http://blog.csdn.net/yuan1164345228/article/details/46697447