Table of Contents

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

Bootstrap, configure and build all components:

cd gnuradio
mkdir build
cd build
cmake ../
make && make test
sudo make install
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/host
mkdir build
cd build
cmake ../
make clean 
make 
sudo make install 
sudo ldconfig

ubuntu uhd 패키지: http://files.ettus.com/binaries/uhd_unstable/latest/

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

http://www.sbrac.org/files/build-gnuradio

Programming

http://gnuradio.org/redmine/projects/gnuradio/wiki/TutorialsWritePythonApplications

After 3.6.2 version build

$ mkdir build
$ cd build
$ cmake ../
$ make && make test
$ sudo make install

http://gnuradio.org/redmine/projects/gnuradio/wiki/BuildGuide