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
但是,根据我拥有的软件包(似乎每个可能的版本......也许太多了)我应该拥有它需要的东西。
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
如何编辑 cmake 列表以正确找到它正在寻找的内容?
在网上搜索No package 'Qt5Qwt6' found后,我发现
gnuradio
问题跟踪器显示了这个问题,并推荐了一个解决方案:在这里,arch指的是 ArchLinux,但这并不意味着这个解决方案是孤立于 ArchLinux 并且可以很好地为您工作。
我会推荐使用 APT 驱动的方法。GNU Radio与Ubuntu上的插件一起打包。首先开始使用二进制包,如下所示:
它是通过编译打包的,编译需要构建时依赖。您可以通过以下操作获取它们:
software-properties-gtk
) 并在此处启用源代码存储库使用简单的命令安装构建依赖项:
上面的命令将为 GNU Radio 3.7.11-10(如在 Ubuntu 18.04 LTS 中)安装构建时依赖项。这个版本在官方网站上不算太新(2018-07-15 的新闻包含 GNU Radio v3.7.13.4 Release 的公告)。
使用简单的命令从 Ubuntu 存储库获取 3.7.11-10 的 GNU Radio 源
并根据需要修补/更改/更新它。