GNURadio3.9 GNURadio3.9版本不能在Ubuntu18.04默认的软件源或PPA软件源中找到,故使用源码编译法。步骤和命令如下: 1.下载源码。下载地址:https://github.com/gnuradio/gnuradio.git 2.安装依赖 sudo apt install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy \ python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev \ libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 \ liblog4cpp5-dev libzmq3-dev python3-yaml python3-click python3-click-plugins \ python3-zmq python3-scipy sudo apt install python3-matplotlib libsndfile1-dev 3.安装Volk git clone --recursive https://github.com/gnuradio/volk.git cd volk mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../ make -j4 sudo make install sudo ldconfig cd 4. 安装pybind11(需自行下载) cd ~/work/grunzip pybind11-master.zip cd pybind11-master mkdir build cd build cmake ../ make –j4 sudo make install sudo ldconfig cd 5. 使用WinSCP将源码传输至Linux虚拟机,然后运行下列命令: unzip gnuradio-maint-3.9.zip cd gnuradio-maint-3.9 mkdir build cd build cmake ../ make -j4 sudo make install sudo ldconfig [此贴子已经被作者于2023-08-23 21:49:19编辑过] |