管理 GNU 无线电的依赖项以从源代码编译

nic*_*nrf 5 python dependencies compiling cmake gnuradio

Ettus 研究为 18.04提供了一个很大的依赖项列表,它几乎适用于从源代码编译 gnu radio。

cmake 给出了以下配置错误:

-- Python checking for PyQt5 - found
-- Checking for module 'Qt5Qwt6'
--   No package 'Qt5Qwt6' found
-- QWT Version: 6.1.3
-- Found Qwt: /usr/lib/libqwt.so  
Run Code Online (Sandbox Code Playgroud)

然而,根据我拥有的软件包(似乎每个可能的版本......也许太多)我应该有它需要的东西。

apt-cache search qwt
libqwt-dev - Qt widgets library for technical applications (development, qt4)
libqwt-doc - Qt widgets library for technical applications (documentation)
libqwt-headers - Qt widgets library for technical applications (header files)
libqwt-qt5-6 - Qt widgets library for technical applications (runtime, qt5)
libqwt-qt5-dev - Qt widgets library for technical applications (development, qt5)
libqwt5-doc - Qt widgets library for technical applications (documentation)
libqwt5-qt4 - Qt4 widgets library for technical applications (runtime)
libqwt5-qt4-dev - Qt4 widgets library for technical applications (development)
libqwt6abi1 - Qt widgets library for technical applications (runtime, qt4)
libqwtmathml-dev - Text Engine for Qwt (development, qt4)
libqwtmathml-qt5-6 - Text Engine for Qwt (runtime, qt5)
libqwtmathml-qt5-dev - Text Engine for Qwt (development, qt5)
libqwtmathml6abi1 - Text Engine for Qwt (runtime, qt4)
libqwtplot3d-doc - 3D plotting library based on Qt/OpenGL (documentation)
libqwtplot3d-qt5-0 - 3D plotting library based on Qt5/OpenGL (runtime)
libqwtplot3d-qt5-dev - 3D plotting library based on Qt5/OpenGL (development)
python-guiqwt - efficient 2D data-plotting library - Python 2
python-guiqwt-doc - efficient 2D data-plotting library - Documentation
python-qwt - Pure Python implementation of Qwt - Python 2
python-qwt5-doc - Python Qwt5 technical widget library, documentation and examples
python-qwt5-qt4 - Python version of the Qwt5 technical widget library
python3-guiqwt - efficient 2D data-plotting library - Python 3
python3-qwt - Pure Python implementation of Qwt - Python 3
python-qwt-doc - Pure Python implementation of Qwt - Documentation
Run Code Online (Sandbox Code Playgroud)

如何编辑 cmake 列表以正确找到它要查找的内容?

ear*_*Lon 3

在互联网上搜索No package 'Qt5Qwt6' found后,我发现gnuradio问题跟踪器显示了此问题,并提供了推荐的解决方案

根据记录,-DQWT_LIBRARIES=/usr/lib/libqwt.so需要在 arch 上启用 gnuradion cmake 脚本gr-qtgui

这里,arch指的是 ArchLinux,但这并不意味着该解决方案与 ArchLinux 隔离并且可以很好地为您工作。