Project

General

Profile

Actions

BuildInstructionsPage » History » Revision 7

« Previous | Revision 7/28 (diff) | Next »
Anonymous, 04/22/2017 04:04 PM
Add apt-get instructions and include IT++


= Getting and Building OP25 =
This page describes how you can get the latest version of OP25 and build it for your computer.

Installing the Pre-requisites
Before doing anything you'll need to make sure you have all the pre-requisite software installed. At the very minimum this will include: * Subversion -- Revision control software to access the source code repository * g++ -- The GNU C++ compiler, * make -- GNU Make, * GNURadio (Release 3.1.3) -- The free software digital signal processing toolkit and * autoconf+automake -- So you can create the configure script and makefiles. * The [http://radiorausch.googlepages.com/GnuradioFourLevelFSK.html Radio Rausch demodulator] - Which produces a dibit stream from the P25 4L-FSK signal. * [http://itpp.sourceforge.net IT++] A library of communications-related code.

The details on what you need to obtain and how you do so vary between GNU/Linux distributions. Its easiest on Debian (and derived distributions such as Ubuntu) and can be quite painful on some distributions. Your mileage probably varies so feel free to document the process thoroughly. We get the pre-requisites installed with one command on Ubuntu as follows:

{{{
sudo apt-get -y install swig g++ automake1.9 libtool python2.5-dev fftw3-dev \
libcppunit-dev libboost1.35-dev sdcc-nf libusb-dev \
libsdl1.2-dev python-wxgtk2.8 subversion 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 libitpp-dev
}}}

The [[http://radiorausch.googlepages.com/GnuradioFourLevelFSK.html Radio Rausch demodulator]] will need to be built and installed so you should follow advice given on that website before building OP25.

Downloading the Source Code
Now you should be ready to get the source code. The best way to do this is using Subversion:

{{{
svn co http://sedition.org.au/svn/op25/trunk op25
}}}

This should create a directory containing the latest version of the source files.

Compiling
Compiling and installing OP25 requires you run the following commands:

{{{
cd op25/decoder
./bootstrap && ./configure && make
make check
sudo make install
}}}

Of course, you won't get away with it that easily! There are probably going to be compile errors and such that require you to install missing packages. Please make a careful note of the packages you need to install and problems you encounter. Then you can update this Wiki page to help others following after. For people without a login for the Wiki you can [mailto: email me] with your notes. Developers can request a Wiki/Subversion login (with your preferred username/password).

Files (0)

Updated by about 7 years ago · 7 revisions

Add picture from clipboard (Maximum size: 48.8 MB)