discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [VOLK][announcement] VOLK release impeding


From: Barry Duggan
Subject: Re: [Discuss-gnuradio] [VOLK][announcement] VOLK release impeding
Date: Wed, 31 Jul 2019 13:28:37 -0400
User-agent: Roundcube Webmail/1.3.8

Hi Glen,

With the help of many of our friends here, I was able to build 3.8 from scratch on a Pi 3B+. Here are my notes from that effort:

Build gnuradio on Raspberry Pi 3B+

Author: Barry Duggan
31 July 2019

OS: Raspbian Buster with desktop and recommended software
32GB microSD

A. Load prerequisites

sudo apt-get update --allow-releaseinfo-change
sudo apt-get upgrade
sudo apt-get install git cmake g++ libboost-all-dev libgmp-dev swig python3-numpy sudo apt-get install python3-mako python3-sphinx python3-lxml doxygen libfftw3-dev sudo apt-get install libsdl1.2-dev libgsl-dev libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5
sudo apt-get install liblog4cpp5-dev libzmq3-dev python3-yaml
sudo apt-get install libpthread-stubs0-dev
sudo pip3 install click-plugins

D. Set up swap file

sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile

-   To make this permanent, add this line to /etc/fstab
/swapfile  none  swap  sw  0  0

C. Clone repository

cd
git clone --recursive https://github.com/gnuradio/gnuradio.git

D. Build

cd ~/gnuradio
mkdir build
cd build
(this next command is all on one line, starting with cmake and ending with ../) cmake -DENABLE_GR_UHD=OFF -DCMAKE_INSTALL_PREFIX="/usr/local" -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python3 ../
make
sudo make install
sudo ldconfig

Of course, if you want UHD, leave out the "-DENABLE_GR_UHD=OFF".

It took about eight hours total.

Good luck! Let me know how it went.

Best wishes,
--
Barry Duggan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]