GNUラジオをソースからコンパイルするための依存関係の管理

GNUラジオをソースからコンパイルするための依存関係の管理

エタスの研究は依存関係の大きなリスト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 リストを編集するにはどうすればよいですか?

答え1

インターネットで検索した後パッケージ「Qt5Qwt6」が見つかりませんgnuradio問題追跡ツールにこの問題が表示され、推奨される解決策:

記録のために、-DQWT_LIBRARIES=/usr/lib/libqwt.soArch で gnuradion cmake スクリプトを有効にするには、 が必要ですgr-qtgui

ここ、アーチArchLinux を指しますが、このソリューションが ArchLinux に限定されているわけではなく、あなたにも十分機能する可能性があります。

答え2

APT駆動方式の使用をお勧めします。GNUラジオプラグインがパッケージ化されているUbuntu では、まず次のように単純なバイナリ パッケージを使用して開始します。

sudo apt-get install gnuradio

これはコンパイルによってパッケージ化されており、コンパイルにはビルド時の依存関係が必要です。次のアクションでそれらを取得できます。

  1. ソフトウェアとアップデート(software-properties-gtk)を開いて有効にするソースコードリポジトリはこちら
  2. 簡単なコマンドでビルド依存関係をインストールします。

    sudo apt-get build-dep gnuradio
    

    上記のコマンドは、GNU Radio 3.7.11-10(Ubuntu 18.04 LTS)のビルド時の依存関係をインストールします。このバージョンはそれほど新しいものではありません。オフィシャルサイト(2018-07-15 のニュースには、GNU Radio v3.7.13.4 リリースの発表が含まれています)。

  3. 簡単なコマンドでUbuntuリポジトリからGNU Radioのソース3.7.11-10を取得する

    apt-get source gnuradio
    

    必要に応じてパッチ適用/変更/更新します。

関連情報