Difference between revisions of "QtRadio Installation"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Building the branch)
(Installing Git)
Line 7: Line 7:
 
=== Installation from Git ===
 
=== Installation from Git ===
 
==== Installing Git ====
 
==== Installing Git ====
 +
 +
You will need the following build dependencies installed.
 +
 +
<pre>
 +
$sudo apt-get install libqt4-opengl-dev
 +
$sudo apt-get install glutg3-dev
 +
$sudo apt-get install libusb-0.1-4
 +
$sudo apt-get install libfftw3-dev
 +
$sudo apt-get install portaudio19-dev
 +
$sudo apt-get install libpulse-dev
 +
$sudo apt-get install libsamplerate0-dev
 +
$sudo apt-get install libusb-1.0-0-dev
 +
$sudo apt-get install libconfig8-dev
 +
$sudo apt-get install libtool
 +
$sudo apt-get install qtmobility-dev
 +
</pre>
 +
 +
Now you can install git
 +
 +
<pre>
 +
$sudo apt-get install git
 +
</pre>
 +
 
==== Cloning the repository ====
 
==== Cloning the repository ====
  

Revision as of 09:16, 12 November 2011

Installation on Linux

Supported versions are: Ubuntu Lucid Ubuntu Natty etc.

Installation from PPA

Installation from Git

Installing Git

You will need the following build dependencies installed.

$sudo apt-get install libqt4-opengl-dev
$sudo apt-get install glutg3-dev
$sudo apt-get install libusb-0.1-4
$sudo apt-get install libfftw3-dev
$sudo apt-get install portaudio19-dev
$sudo apt-get install libpulse-dev
$sudo apt-get install libsamplerate0-dev
$sudo apt-get install libusb-1.0-0-dev
$sudo apt-get install libconfig8-dev
$sudo apt-get install libtool
$sudo apt-get install qtmobility-dev

Now you can install git

$sudo apt-get install git

Cloning the repository

How to build the latest rxtx-event branch on Ubuntu 11.04

You will need the following dependencies installed.

libqt4-opengl-dev
glutg3-dev
libusb-0.1-4
libfftw3-dev
portaudio19-dev
libpulse-dev
libsamplerate0-dev
libusb-1.0-0-dev
libconfig8-dev
libtool
qtmobility-dev
git

Obtaining an up-level libevent library

For the rxtx-event branch of the software, you will also need a version of libevent that is newer than what is available from the Ubuntu distribution. Go to synaptic and completely remove the stock libevent (v1.4) from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)

Then download the new version from:

http://libevent.org/

libevent-2.0.15-stable.tar.gz

Move the tarball from the Downloads directory to a working directory. A suggestion is to create a src directory within your home directory and move it there. Uncompress and follow the instructions to build and install:

$ gunzip libevent-2.0.15-stable.tar.gz
$ tar -ivf libevent-2.0.15-stable.tar

$ cd libevent-2.0.15-stable

$ ./configure
$ make
$ sudo make install
$ sudo ldconfig

Building the branch

Create a new directory or cd to the ~/src directory created for libevent and cd into it.

$ git clone git://github.com/alexlee188/ghpsdr3-alex

It will take a minute to download. cd into the new directory ghpsdr3-alex:

$ cd ghpsdr3-alex
$ git checkout rxtx-event

You are now working with Alex's latest and greatest!

$ autoreconf -i
$ ./configure
$ make all
$ sudo make install

(If you do not want to actually install the executable binaries, skip the sudo make install and just cd into the following directories and run them from there)

Terminal 1
$ cd ghpsdr3-alex/trunk/src/softrock
$ ./softrock ...options ...

Terminal 2
$ cd ghpsdr3-alex/trunk/src/dspserver
$ ./dspserver  ..options...

Terminal 3
$ cd ghpsdr3-alex/trunk/src/QtRadio
$ ./QtRadio

Refresh to a Newer Version

To pull a new version to build

$ git pull
$ make all
$ sudo make install

Installation on Windows

QtRadio, the client, is available on Windows for RX. A zip can be downloaded from: http://napan.com/ve9gj/qtradio.zip

Unzip to any folder and run the qtradio.exe file. It does not need an actual install, just the included dll files in the same folder.