无法在Windows的代码块中正确链接UHD库

时间:2019-03-30 19:37:37

标签: c++ codeblocks usrp software-defined-radio uhd

按照here的说明,我安装了Windows UHD驱动程序,并在程序文件中获得了目录UHD,如下所示。

enter image description here 我正在使用代码块进行开发,并在链接器设置中添加了uhd.lib文件,并在搜索目录中为编译器和链接器添加了bin, include and lib folders。现在,我尝试运行示例rx_samples_c.c。但是我在代码中遇到了关于每个uhd函数的错误。 undefined reference to '_imp__uhd_*'

enter image description here 我知道这是链接器相关的错误,但我无法解决。

0 个答案:

没有答案