gnuradio
This is an old revision of the document!
Table of Contents
gnuradio
Build and Install
gnuradio
http://gnuradio.org/redmine/projects/gnuradio/wiki/DebianInstall
Install pre-requisites:
sudo apt-get install libaudio-dev sudo apt-get -y install libxi-dev sudo apt-get -y install libfontconfig1-dev libxrender-dev libpulse-dev \ swig g++ automake autoconf libtool python-dev libfftw3-dev \ libcppunit-dev libboost-all-dev libusb-dev fort77 sdcc sdcc-libraries \ libsdl1.2-dev python-wxgtk2.8 git-core guile-1.8-dev \ libqt4-dev python-numpy ccache python-opengl libgsl0-dev \ python-cheetah python-lxml doxygen qt4-dev-tools \ libqwt5-qt4-dev libqwtplot3d-qt4-dev pyqt4-dev-tools python-qwt5-qt4
Make sure you're using g++ v4.5:
export CXX=g++-4.5
Download GNU Radio from git:
git clone http://gnuradio.org/git/gnuradio.git <code> Bootstrap, configure and build: <code> cd gnuradio ./bootstrap ./configure ./configure --with-boost-libdir=/usr/lib/ # debian ./configure --enable-gr-uhd --enable-grc --enable-gr-audio-alsa #ubuntu install uhd, grc, alsa make -e sudo make install
Uninstall and git clean
$ sudo make uninstall $ git clean -d -x -f
ettus uhd driver install
git clone git://code.ettus.com/ettus/uhd.git cd uhd mkdir build cd build cmake ../ make clean make sudo make install sudo ldconfig
cat > /etc/udev/rules.d/10-usrp.rules # # Copyright 2011 Ettus Research LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # SUBSYSTEMS=="usb", ATTRS{idVendor}=="fffe", ATTRS{idProduct}=="0002", MODE:="0666" SUBSYSTEMS=="usb", ATTRS{idVendor}=="2500", ATTRS{idProduct}=="0002", MODE:="0666" sudo killall -HUP udevd sudo udevadm control --reload-rules
/usr/local/bin/uhd_find_devices
Programming
gnuradio.1328086313.txt.gz · Last modified: 2018/07/18 14:09 (external edit)