Difference between revisions of "QtRadio Installation"

From Ghpsdr3 SDR project
Jump to: navigation, search
(Cloning the repository)
(Building the branch)
Line 61: Line 61:
 
</pre>
 
</pre>
  
==== Building the branch ====
+
==== Building the rxtx-event branch ====
 +
 
 +
This branch is the latest code that contains both RX and TX capability.
  
 
Create a new directory or cd to the ~/src directory created for libevent and cd into it.
 
Create a new directory or cd to the ~/src directory created for libevent and cd into it.

Revision as of 08:19, 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

First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.

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 rxtx-event branch

This branch is the latest code that contains both RX and TX capability.

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.