<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://napan.ca/ghpsdr3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kl7na</id>
	<title>Ghpsdr3 SDR project - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://napan.ca/ghpsdr3/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Kl7na"/>
	<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php/Special:Contributions/Kl7na"/>
	<updated>2026-04-05T20:55:56Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=912</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=912"/>
		<updated>2017-06-14T22:03:18Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04, 17.10 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04, 17.10 and (maybe) Later ====&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1 and 17.10.&lt;br /&gt;
First install dependencies using this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install libtool autoconf portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev libsamplerate0-dev qtdeclarative5-dev&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then test and make sure that qt5 is selected.  You check that with:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ qmake -v &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
If it is not version 5.something, then:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ export QT_SELECT=qt5 &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then you need to get autotools to reconfigure it:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ autoreconf -i&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ ./configure; make -j4; sudo make install&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=911</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=911"/>
		<updated>2017-06-14T22:02:27Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04, 17.10 and (maybe) Later ====&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1 and 17.10.&lt;br /&gt;
First install dependencies using this:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install libtool autoconf portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev libsamplerate0-dev qtdeclarative5-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then test and make sure that qt5 is selected.  You check that with:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ qmake -v&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
If it is not version 5.something, then:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ export QT_SELECT=qt5&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then you need to get autotools to reconfigure it:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Then&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ ./configure; make -j4; sudo make install&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=910</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=910"/>
		<updated>2017-06-14T19:45:38Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04 and (maybe) Later ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install libtool autoconf portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev libsamplerate0-dev qtdeclarative5-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1.&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=909</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=909"/>
		<updated>2017-06-14T19:29:04Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04 and (maybe) Later ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install libtool autoconf portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev libsamplerate0-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1.&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=908</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=908"/>
		<updated>2017-06-14T19:17:25Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04 and (maybe) Later ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install libtool autoconf portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1.&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=907</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=907"/>
		<updated>2017-06-14T18:57:12Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* For Ubuntu 16.04 and (maybe) Later */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04 and (maybe) Later ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install portaudio19-dev libfftw3-dev libcodec2-dev libpulse-dev libusb-dev libconfig8-dev libusb-1.0-0-dev libevent-dev libevent-openssl-2.0-5 libssl-dev libortp-dev qtbase5-dev qtmultimedia5-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1.&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=902</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=902"/>
		<updated>2016-12-27T16:14:46Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* Ubuntu 12.04 and newer */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \&lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== For Ubuntu 16.04 and (maybe) Later ====&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
$ sudo apt-get update; sudo apt-get install portaudio19-dev, libfftw3-dev, libcodec2-dev, libpulse-dev, libusb-dev, libconfig8-dev, libusb-1.0-0-dev, libevent-dev, libevent-openssl-2.0-5, libssl-dev, libortp-dev, qtbase5-dev, qtmultimedia5-dev&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
This will allow you to build using just Ubuntu packages, (without installing the Qt development kit it /opt as described above).  At least it worked for me on an Odroid C1 running Ubuntu 16.04.1.&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 and newer  ** AVOID CentOS ** It is not a Desktop OS  =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install libevent&lt;br /&gt;
sudo yum install libevent-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&lt;br /&gt;
Qt5 is needed to build QtRadio. If the distro does not include qt5, follow the build instructions in the section ODROID - OK for all platforms.&lt;br /&gt;
Check if Qt5 is supplied &amp;quot;sudo yum install qt5*&amp;quot; - it is available in Fedora 20.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio -s 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=854</id>
		<title>Ubuntu14</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=854"/>
		<updated>2015-01-04T19:27:17Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* Ubuntu 14.10 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===== Ubuntu 14.10 =====&lt;br /&gt;
Make sure that your systems is up to date:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the tools:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install the prerequisite packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get -y install \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
cmake &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install Qt5 from Ubuntu repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt5-default qt5-qmake libqt5multimedia5 libqt5multimedia5-plugins qtmultimedia5-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Even the original package can be used, it is found at&lt;br /&gt;
&lt;br /&gt;
http://www.qt.io/download-open-source/&lt;br /&gt;
&lt;br /&gt;
In case, check that the Qt5 library is the current one:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ qmake -v&lt;br /&gt;
QMake version 3.0&lt;br /&gt;
Using Qt version 5.3.0 in /usr/lib/x86_64-linux-gnu&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Build and install codec-2:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
mkdir build_linux&lt;br /&gt;
cd build_linux&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Download the source code from git:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this step is unsuccessfull, report on the mailing list providing the text of the error and the config.log file as found in ghpsdr3-alex/ directory.&lt;br /&gt;
&lt;br /&gt;
Otherwise, install it:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default configure above builds with debug and default Qt5 version in your PC.  &lt;br /&gt;
For optimized executable, you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh              for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh           for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh             for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh      for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=853</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=853"/>
		<updated>2014-12-30T05:49:57Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* Odroid C1 ghpsdr3-alex Headless Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository --no-webkit&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, coaxial, with an inner diameter of 0.8mm, and an outer diameter of 2.5mm.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally found the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into an Ethernet cable connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address.  I found I could  ssh to odroid.local or that IP address.&lt;br /&gt;
 ssh odroid@odroid.local&lt;br /&gt;
The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole card, and to update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then to install ghpsdr3-alex, I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things, because I don&#039;t need or want a GUI or QtRadio, because my server is headless.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails because there is no Qt, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.  &lt;br /&gt;
&lt;br /&gt;
I also changed the username using usermod and a few other things, but that is the basic outline.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=852</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=852"/>
		<updated>2014-12-30T05:39:24Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* Odroid C1 ghpsdr3-alex Headless Server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository --no-webkit&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, coaxial, with an inner diameter of 0.8mm, and an outer diameter of 2.5mm.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally found the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into an Ethernet cable connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address.  I found I could  ssh to odroid.local or that IP address.&lt;br /&gt;
 ssh odroid@odroid.local&lt;br /&gt;
The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole card, and to update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then to install ghpsdr3-alex, I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things, because I don&#039;t need or want a GUI or QtRadio, because my server is headless.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails because there is no Qt, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=851</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=851"/>
		<updated>2014-12-30T05:26:05Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Odroid Wiki =&lt;br /&gt;
&lt;br /&gt;
[http://odroid.us/mediawiki/index.php?title=Main_Page#Tutorials Tutorials about kernel rebuild and step-by-step Ubuntu SD Card Setup]&lt;br /&gt;
&lt;br /&gt;
= How to install on U2 a custom built stable kernel =&lt;br /&gt;
&lt;br /&gt;
Alas till today (2013, Jan 7) the official images for X2 and U2, as found on the HardKernel site, suffer from a fatal flaw that locks the whole system under heavy ethernet load.&lt;br /&gt;
&lt;br /&gt;
Several users signaled the issue ( [http://odroid.foros-phpbb.com/t2086-u2-running-ubuntu-last-image-freezes-repeatedly-under-heavy-load see this thread] ).&lt;br /&gt;
&lt;br /&gt;
The Hardkernel guys are actively investigating the problem; in the meanwhile a forum user (zehome) developed a patch of kernel config and provided on his web site a package for a new kernel that fixes the above problem.&lt;br /&gt;
&lt;br /&gt;
The install procedure is as follows:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 wget http://odroid.zehome.com/odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 tar xzf odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 cd odroidu2_ed_kernel_rel3 &amp;amp;&amp;amp; ./install.sh&lt;br /&gt;
&lt;br /&gt;
 sha1sum: b3e86718f69b9801097819a7250876cd0053b9cd  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
 md5sum: ba0088cb23e0be5a11012cd4acf3c844  odroidu2_ed_kernel_rel3.tar.gz&lt;br /&gt;
&lt;br /&gt;
= How to compile Qt5 =&lt;br /&gt;
&lt;br /&gt;
In order to compile Qt5, is mandatory to start from a clean system, especially if you are using a 8 GB SD card.&lt;br /&gt;
Moreover, you have to install the mesa packages:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&lt;br /&gt;
missing this step, the build will fail on unknown OpenGL symbols, &#039;&#039;&#039;even if the OpenGL build has been explicitly disabled&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
Append to ~/.bashrc the following lines:&lt;br /&gt;
&lt;br /&gt;
 export CPPFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CXXFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
 export CFLAGS=&#039;-O2 -fPIC&#039;&lt;br /&gt;
&lt;br /&gt;
[https://bugs.launchpad.net/gcc-linaro/+bug/924726 See the bug #924726]&lt;br /&gt;
&lt;br /&gt;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
 cd&lt;br /&gt;
 git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&lt;br /&gt;
this is only a template repository, it is almost empty, we need to download the whole code using the initialization script&lt;br /&gt;
&lt;br /&gt;
 cd qt5&lt;br /&gt;
 perl init-repository --no-webkit&lt;br /&gt;
&lt;br /&gt;
Next we have to configure, avoiding to compile examples and test programs, in order to shorten the build time:&lt;br /&gt;
&lt;br /&gt;
 ./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
 &#039;&#039;&#039;make -j8&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If the build ends successfully, there is no need to install the package, it is enough use includes and libraries as found in ~/qt5/qtbase directory.&lt;br /&gt;
&lt;br /&gt;
 export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
[http://qt-project.org/wiki/Building_Qt_5_from_Git Building Qt 5 from Git on Qt Project web site]&lt;br /&gt;
&lt;br /&gt;
= Forcing all CPU&#039;s active =&lt;br /&gt;
&lt;br /&gt;
 echo performance &amp;gt; /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= HardKernel documentation on ODROID X and Q =&lt;br /&gt;
&lt;br /&gt;
[http://dev.odroid.com/projects/odroid-xq/  Can be found here.]&lt;br /&gt;
&lt;br /&gt;
= A procedure for newbies to build their own Odroid system or to download ready to work images for -X or -U2 =&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/ODROID-U2_install-2.txt /  See my notes on how to build here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/note-odroid-x-v_ehp.txt /  See my notes on how to run an already built image here.]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-X_image_v4-std_15GB.img.tar.gz / Download the image file for the -X or -X2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/Odroid-x/odroid-U2_image_v2-std_15GB.img.tar.gz / Download the image file for the -U2 card]&lt;br /&gt;
&lt;br /&gt;
[http://www.lbp.fr/ham/remote.html#sdcard/  See my complete page here.]&lt;br /&gt;
=Odroid C1 ghpsdr3-alex Headless Server=&lt;br /&gt;
The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1] is powerful enough to run four instances of dspserver and an hpsdr-server to be a server for Hermes or Hermes-Lite, and probably for HiQSDR and other SDR units not requiring a sound card.  In the notes below I will try to outline how I was able to get this going.  I first purchased an Odroid C1 and 16 GB microSD card.  Smaller cards might work, but I wanted one that would do at least 10 MB/s, and mine tested to that number.  You also need a 5V 1A power supply, and I got mine from the local church used stuff recycling center.  The connector is the same as was used on some older cell phones, so you might find one at a similar place as well.  Then using my Ubuntu laptop, I downloaded the Ubuntu 14.04.1 [http://odroid.com/dokuwiki/doku.php?id=en:c1_release_linux_ubuntu Odroid C1 image].  The [http://odroid.com/dokuwiki/doku.php?id=en:odroid-c1 Odroid C1 Wiki] was very helpful, and everything there should be read.  At first I tried to install the .xz file on the microSD card using the GUI, gnome-disk-utility 3.10.0 (disks).  That worked for the Android image, but not for the Ubuntu image.  I finally fount the problem by explicitly following the [http://odroid.com/dokuwiki/doku.php?id=en:odroid_flashing_tools instructions to use unxz and dd.]  Then I was able to plug the microSD card into the Odroid C1  and plug it into Ethernet connected to my router, and into power.  The red light came on and the blue light blinked a few times and then turned off.  This is actually a bug, as with the newer kernel the blue LED when booted goes blink-blink  blink-blink  ....  I&#039;m sure the next update will take care of this.  Then from my Ubuntu laptop, I logged into my router and looked at the DHCP leases, and found odroid on the list.  That told me the IP address, and I found I could also just ssh to odroid.local without even knowing the IP address.  The user is odroid and the password is odroid.  Then I followed the instructions to resize the [http://forum.odroid.com/viewtopic.php?f=111&amp;amp;t=7611 microSD card to use the whole thing, and update the kernel].  The command for that was: &lt;br /&gt;
 /usr/local/bin/root-utility.sh&lt;br /&gt;
I also used that utility to turn off X, and then I followed the [[Ubuntu14 instructions]], but didn&#039;t install any of the Qt things.  After&lt;br /&gt;
 autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
which fails, I changed directory to each of the following and did a &lt;br /&gt;
 make &amp;amp;&amp;amp; sudo make install  &lt;br /&gt;
in the following order: ghpsdr3-alex/trunk/src/Dttsp, ghpsdr3-alex/trunk/src/server and ghpsdr3-alex/trunk/src/dspserver.  Then I was able to start hpsdr-server and dspserver.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=836</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=836"/>
		<updated>2014-09-09T23:14:35Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* Building the master branch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Installation on Linux ==&lt;br /&gt;
The instructions below are for Debian based distributions like Ubuntu but you should be able to compile on any Linux distribution with the correct libraries installed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installation from Git ===&lt;br /&gt;
Installing from git involves building or compiling from source.  This is required if you want to use one of the various branches to work the &amp;quot;bleeding edge&amp;quot; branches like Alex&#039;s rxtx-event branch where the current (Nov 12 2011) TX work is being done.&lt;br /&gt;
The PPA install is never more than a few days behind master so there is not much to gain from building from git unless you want to work with the source code your self.&lt;br /&gt;
&lt;br /&gt;
==== Installing compiler and autotool ====&lt;br /&gt;
&lt;br /&gt;
First off, install the compiler; depending on which distribution are you using, some or all of this stuff could be already installed: &lt;br /&gt;
&lt;br /&gt;
===== Ubuntu/Debian =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install make gcc g++&lt;br /&gt;
sudo apt-get install autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install gcc gcc-c++ man-pages autoconf automake subversion libtool git&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing prerequisite packages ====&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 12.04 and newer =====&lt;br /&gt;
First of all, you have to check that the universe repository is enabled. Click on the gear shaped icon (bottom into left side bar): the System Settings menu will shown, click on Software Sources and finally check the Community-maintained Open Source Software (universe) tick. Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
gcc-multilib \&lt;br /&gt;
libssl-dev \&lt;br /&gt;
libevent-dev \&lt;br /&gt;
libglu1-mesa-dev \&lt;br /&gt;
freeglut3-dev \&lt;br /&gt;
cmake \ &lt;br /&gt;
libspeexdsp-dev \&lt;br /&gt;
libxcb-composite0-dev &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
### libspeexdsp-dev is only required for codec2-dev. DO NOT USE codec2-dev - it is the development branch and may or may not work as the developers have warned --- use &amp;quot;codec2&amp;quot; which is the stable branch.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will need qt5 installed to complete the build.&lt;br /&gt;
&lt;br /&gt;
Visit: http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
download the current package for your system.&lt;br /&gt;
&lt;br /&gt;
To build Qt5 on a RaspberryPi visit: http://qt-project.org/wiki/RaspberryPi&lt;br /&gt;
&lt;br /&gt;
After downloading it go to the download directory and do:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Simply click on the installer and follow the prompts, take note of were qt5 is installed. Don&#039;t open the readme or start QtCreator when the installer asks.  It will make some files in your home directory owned by root, and that will give you trouble later.  After the install has completed, from a terminal:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.1.0/5.1.0/gcc_64/bin:/opt/Qt5.1.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In the above make sure you put in the correct path for your version of Qt. This is due because the several packages from Qt sources and binary repositories web sites are not really installed in the system but simply copied on it. Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
In any case please remember that&lt;br /&gt;
the export above is effective only into the current terminal windows, if you open another window and/or reboot the system, you have to resubmit again the command&lt;br /&gt;
if you want to make permanent it, you have to add the export into the right configuration shell, suitable for the shell that you are currently using.&lt;br /&gt;
For the bash it is typically ~/.bashrc&lt;br /&gt;
In any case, after you issue the export, please test it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
qmake -v&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 4.8.0 in /home/andrew/QtSDK4.8x/Desktop/Qt/4.8.0/gcc/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.04 and older ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Please see the procedure in the previous section [[#graphical installation]] .&lt;br /&gt;
&lt;br /&gt;
Next, you will need the following packages installed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
libortp-dev \ &lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Ubuntu 11.10 ===== &lt;br /&gt;
First of all, you have to check that the &#039;&#039;universe repository&#039;&#039; is enabled.&lt;br /&gt;
Click on the gear shaped icon (bottom into left side bar): the &#039;&#039;System Settings&#039;&#039; menu will shown, click on &#039;&#039;Software Sources&#039;&#039; and finally check the &#039;&#039;Community-maintaned Open Source Software (universe)&#039;&#039; tick.&lt;br /&gt;
Next, submit the following commands into a terminal window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install \&lt;br /&gt;
libqt4-opengl-dev \&lt;br /&gt;
qtmobility-dev \&lt;br /&gt;
libusb-0.1-4 \&lt;br /&gt;
libusb-dev \&lt;br /&gt;
libfftw3-dev \&lt;br /&gt;
portaudio19-dev \&lt;br /&gt;
libpulse-dev \&lt;br /&gt;
libsamplerate0-dev \&lt;br /&gt;
libusb-1.0-0-dev \&lt;br /&gt;
libconfig8-dev \&lt;br /&gt;
xdg-utils \&lt;br /&gt;
libortp-dev \&lt;br /&gt;
cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Fedora 16 =====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo yum install fftw fftw-devel &lt;br /&gt;
sudo yum install libusb-devel libusb1-devel &lt;br /&gt;
sudo yum install portaudio-devel&lt;br /&gt;
sudo yum install libconfig-devel&lt;br /&gt;
sudo yum install libsamplerate-devel&lt;br /&gt;
sudo yum install pulseaudio-libs-devel&lt;br /&gt;
sudo yum install jack-audio-connection-kit  jack-audio-connection-kit-devel&lt;br /&gt;
sudo yum install qt4-devel&lt;br /&gt;
sudo yum install cmake&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Cloning the repository ====&lt;br /&gt;
&lt;br /&gt;
How to build the latest master branch on Ubuntu 11.04&lt;br /&gt;
&lt;br /&gt;
First a new libevent will need to be downloaded and installed, then the actual QtRadio source can be downloaded and built.&lt;br /&gt;
&lt;br /&gt;
==== Obtaining an up-level libevent library ====&lt;br /&gt;
&lt;br /&gt;
$ sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
If the version is older than 2.0.5, go to synaptic and completely remove the stock libevent from Ubuntu. (Completely remove is an uninstall option in Synaptic. Additional dependent libraries may also be removed)&lt;br /&gt;
&lt;br /&gt;
Then download the new version from:&lt;br /&gt;
&lt;br /&gt;
http://libevent.org/&lt;br /&gt;
&lt;br /&gt;
libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget https://github.com/downloads/libevent/libevent/libevent-2.0.16-stable.tar.gz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
tar -zxvf libevent-2.0.16-stable.tar.gz&lt;br /&gt;
cd libevent-2.0.16-stable&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
We are adding a low bit rate audio codec called codec 2 to QtRadio/dspserver.  You need&lt;br /&gt;
to download and build the codec2 library.  See:&lt;br /&gt;
&lt;br /&gt;
http://www.rowetel.com/blog/?page_id=452&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
Now go get codec2 using subversion&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://svn.code.sf.net/p/freetel/code/codec2 codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
&lt;br /&gt;
sudo make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
On some variations codec2 files will not be detected as installed correctly; if build errors citing codec2 are encountered during the later ./configure steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/include/codec2&lt;br /&gt;
&lt;br /&gt;
sudo cp * ..&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;IMPORTANT NOTE: If build errors persist referencing any codec2 missing components, please consider http://napan.ca/ghpsdr3/index.php/QtRadio_Installation#Refresh_to_a_Newer_Version procedure before continuing.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On Fedora, in order to use the library above, export the LD_LIBRARY_PATH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/local/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the master branch ====&lt;br /&gt;
&lt;br /&gt;
This branch is the latest code that contains both RX and TX capability. &lt;br /&gt;
&lt;br /&gt;
Create a new directory or cd to the ~/src directory created for libevent and cd into it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Depending on your Internet connection thorughput, it will take several minute to download.&lt;br /&gt;
cd into the new directory ghpsdr3-alex:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You are now working with Alex&#039;s latest and greatest!&lt;br /&gt;
&lt;br /&gt;
First set the path to the version of qt you are using.  E.g. for qt5:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/qt5/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure.sh&lt;br /&gt;
make -j4 all&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The default configure above builds with debug and default Qt4 version in your PC.  For optimized executable,&lt;br /&gt;
you need to specify options specific to your system.  See the sample shell scripts that replaces the above&lt;br /&gt;
./configure step:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./alex-conf.sh                  if you have problems finding codec2&lt;br /&gt;
./alex-avx-conf.sh		for building with i3,i5 and i7 cpu&#039;s supporting Advanced Vector Extensions (AVX)&lt;br /&gt;
./alex-openmp-conf.sh		for building with i3,i5 and i7 cpu&#039;s and OpenMP support&lt;br /&gt;
./alex-sse3-conf.sh		for building with SSE3 capable cpu&#039;s&lt;br /&gt;
./alex-openmp-sse3-conf.sh	for building with SSE3 cpaable cpu&#039;s and OpenMP support&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(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)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Terminal 1&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/softrock&lt;br /&gt;
$ ./softrock ...options ...&lt;br /&gt;
&lt;br /&gt;
Terminal 2&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/dspserver&lt;br /&gt;
$ ./dspserver  ..options...&lt;br /&gt;
&lt;br /&gt;
Terminal 3&lt;br /&gt;
$ cd ghpsdr3-alex/trunk/src/QtRadio&lt;br /&gt;
$ ./QtRadio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Building the Perseus extensions ====&lt;br /&gt;
&lt;br /&gt;
In order to build the Microtelecom Perseus server you need to switch to the master or iw0hdv branch. &lt;br /&gt;
&lt;br /&gt;
First off, install the prerequisite library and wget package:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install libboost-all-dev wget&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next download, compile and install the library libperseus-sdr:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
wget http://libperseus-sdr.googlecode.com/files/libperseus_sdr-0.6.tar.gz&lt;br /&gt;
tar -zxvf libperseus_sdr-0.6.tar.gz&lt;br /&gt;
cd libperseus_sdr-0.6/&lt;br /&gt;
./configure &amp;amp;&amp;amp; make&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, you have to clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything; you don&#039;t need anymore to explicitly enable the perseus server feature, the configure script automatically selects it when the libperseus_sdr is found.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In order to run it you have two choices, the first one being the plain command line:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
xterm -e &#039;perseus_server -d3 -s96000 &#039; &amp;amp;&lt;br /&gt;
sleep 3&lt;br /&gt;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
sleep 5&lt;br /&gt;
$( QtRadio 127.0.0.1 ) &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In QtRadio, Receiver menu, select Configure item, Server tab: here add the local host using the 127.0.0.1 IP address.&lt;br /&gt;
Pressing the key C, you start the receiver.&lt;br /&gt;
&lt;br /&gt;
The second choiche is to use the ghpsdr3-mgr.py script (available in menu Applications, Hamradio as ghpsdr3launcher): clicking on the Perseus icon the three processes should start and the QtServer automatically connects to Perseus Server.&lt;br /&gt;
&lt;br /&gt;
==== Building USRP enabled version ====&lt;br /&gt;
&lt;br /&gt;
===== Building the UHD package =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====== Install the prerequisite packages (Ubuntu 11.10): ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install liboost-all-dev&lt;br /&gt;
sudo apt-get install python-cheetah&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====== Build &amp;amp; Install UHD -- FOR UHD-3.3.1 AND GREATER --: ======&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://ettus.sourcerepo.com/ettus/uhd.git&lt;br /&gt;
cd uhd/host/&lt;br /&gt;
mkdir build&lt;br /&gt;
cd build&lt;br /&gt;
cmake ../&lt;br /&gt;
make&lt;br /&gt;
make test&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo ldconfig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you already build in your sandbox some other branch, is strongly advisable, before you start the build, to do a full cleanup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
make distcheck &amp;amp;&amp;amp; sh cleanup.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise, if you are starting from scratch, first clone the repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
git clone git://github.com/alexlee188/ghpsdr3-alex&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Finally, you can switch to the master branch and rebuild everything, enabling the usrp server feature:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ~/ghpsdr3-alex&lt;br /&gt;
git checkout usrp-server&lt;br /&gt;
autoreconf -i &amp;amp;&amp;amp; ./configure --enable-usrp=yes &amp;amp;&amp;amp; make -j4&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Refresh to a Newer Version ====&lt;br /&gt;
&lt;br /&gt;
To pull a new version to build &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If extensive changes have occurred or if you get errors during the make, you may want to do a clean build  &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ git pull&lt;br /&gt;
$ make distclean&lt;br /&gt;
$ sh cleanup.sh&lt;br /&gt;
$ autoreconf -i&lt;br /&gt;
$ ./configure&lt;br /&gt;
$ make -j4 all&lt;br /&gt;
$ sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you continue to get errors, please report the whole ./configure output and the config.log to the mailing list.&lt;br /&gt;
&lt;br /&gt;
== Installation on Windows ==&lt;br /&gt;
See [[ QtRadio on Windows]]&lt;br /&gt;
&lt;br /&gt;
==VirtualBox Easy Installation==&lt;br /&gt;
&lt;br /&gt;
It is possible to run the server software (and QtRadio) under VirtualBox.  It has been tested with HPSDR Hermes hardware. [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip A VirtualBox Ubuntu 12.10 image] is available that automatically starts the server software for those who are running Windows, or don&#039;t feel they have the hardware, expertise or time to setup a Linux machine to act as a server.  The username is: &amp;quot;ubuntu&amp;quot; and the password: &amp;quot;hamradio&amp;quot;, which is probably a good thing to change soon after installation.  Basically, all you need to do is follow the instructions below, plug your HPSDR Hermes or Apache Labs ANAN series transceivers into the network with the server, and you can be using ghpsdr3-alex on your own server.  Users of older HPSDR hardware may need to make slight variations such as configuring USB in VirtualBox, specifying different command line arguments to the automatically started server commands, etc, but you won&#039;t have to build the software, or install Linux, or get another computer just to run the ghpsdr3-alex server software.&lt;br /&gt;
&lt;br /&gt;
To get started, download the [http://people.wallawalla.edu/~Rob.Frohne/ghpsdr3-alex/Ubuntu%2012.10%20ghpsdr3-alex-hermes.zip VirtualBox image] (about 2.7 GB), unzip it, start [https://www.virtualbox.org/ VirtualBox], select the blue new button for the new machine, follow the wizard&#039;s instructions.  When it asks you about the hard drive, say use existing virtual hard drive file, and select the image you just unzipped using the folder icon with the green up-arrow as the hard drive, and hit the create button. Then use the green start arrow to start the Ubuntu 12.10 virtual machine. &lt;br /&gt;
&lt;br /&gt;
You should now be able to start QtRadio (the brown unity launcher item with CQ in it) and connect to your server.  If that works, you should be able to connect from any client with network access to your server including QtRadio outside your virtual machine, or from another computer on your LAN or glSDR on your phone using WIFI.  Be sure to set the server IP address in the client (QtRadio, or glSDR) to the IP address of the Ubuntu virtual machine.  You can get the IP address from the up/down arrow menu on the upper left of your virtual machine menu bar, under the selection &amp;quot;Connection Information.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The [[Dspserver.conf]] file should be edited to personalize your server, and to allow transmit.   &lt;br /&gt;
&lt;br /&gt;
If your sever doesn&#039;t work, it may because your network interface is not eth2.  If it isn&#039;t, you need to read the notes on the [[Hermes]] page, and then edit the commands used to automatically start your server as described in the paragraph immediately below.  Another problem may occur because the SSL keys need to be generated.  You can learn how to do that [[SSL Key Generation|here]].&lt;br /&gt;
&lt;br /&gt;
If you want to edit or add the automatically started programs, see [http://askubuntu.com/questions/48321/how-do-i-start-applications-automatically-on-login this web page].  If you want to change things, the helpful notes about running the [[Hermes]] server on the [[Hermes]] page might be good to review.  They explain the commands started automatically upon login.&lt;br /&gt;
&lt;br /&gt;
I must make one note about running the software from a pre-prepared VirtualBox Image.  It is a way an attacker could gain access to your computer and network.  I used a pre-prepared Ubuntu 12.10 image from [http://virtualboxes.org/images/ubuntu/ VirtualBoxImages].  I believe it to be virgin, but you have to realize that it is possible that some rogue software is running on this image.  If you use the image I provide, you must be solely responsible for whatever happens. I (Rob Frohne, KL7NA) did not put anything on the image, except the ghpsdr3-alex and the tools and packages, and configuration files needed to build it, and I believe it to be harmless.  As always, there is a trade off between ease of use, and security.&lt;br /&gt;
&lt;br /&gt;
== Network settings ==&lt;br /&gt;
If you are behind a firewall/NAT-router and want to be able to connect to your dspserver over the Internet you have to open up port tcp/8000. If you are using the client in RTP mode you have to open up udp/5004 and udp/5005.&lt;br /&gt;
&lt;br /&gt;
== Installing ghpsdr3-alex on Raspberry Pi == &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Hardware===&lt;br /&gt;
&lt;br /&gt;
*** THIS SECTION DEALS WITH Raspberry Pi DIFFERENCES *** IT DOES NOT CIRCUMVENT THE INSTRUCTIONS STARTING AT STEP 1 OF THE QtRadio Installation. ***&lt;br /&gt;
&lt;br /&gt;
I recommend installing either the raspbian or raspbian pisces (debian) distributions as there is no Ubuntu release to date.&lt;br /&gt;
&lt;br /&gt;
*** All the pre-requisite packages needed for Ubuntu must be installed on raspbian or respbian pisces using the same &amp;quot;apt-get install&amp;quot; commands so it&#039;s necessary to follow the QtRadio-Installation &lt;br /&gt;
document from the beginning after installing raspbian or raspbian pisces.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
        The RasPi USB subsystem is sensitive to power supply voltage levels - A supply of 5.5V at 2A is recommended. &lt;br /&gt;
With the power supply output at +5.17V I was getting on-board Ethernet errors and system hangs when one more device besides keyboard and mouse were plugged in to the on-board USB ports or an outboard powered USB HUB. &lt;br /&gt;
&lt;br /&gt;
Measuring the voltage across TP1 and TP2 on the Raspberry Pi and  increased it to +4.97V (P.S output +5.59V).&lt;br /&gt;
&lt;br /&gt;
I also ran &amp;quot;rpi-update&amp;quot; which install new firmware. &lt;br /&gt;
&lt;br /&gt;
I shorted out the polyfuses F1 and F2 on the Pi and USB is much more stable but still limited.&lt;br /&gt;
&lt;br /&gt;
With keyboard, mouse, gigabit USB Ethernet, SB Live! 24 USB and RTL-SDR dongle it runs for some hours before it freezes.&lt;br /&gt;
&lt;br /&gt;
Removing the RTL-SDR dongle from the powered hub made a great difference with a current uptime heading for 3 days. The latest ghpsdr3-alex master branch build successfully completed while I was in bed.&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# date&lt;br /&gt;
&lt;br /&gt;
Sun Sep  9 13:00:49 BST 2012&lt;br /&gt;
&lt;br /&gt;
root@pisces:/usr/src/GHPSDR3_HIGH_SPEED_MASTER/ghpsdr3-alex# uptime&lt;br /&gt;
&lt;br /&gt;
 13:00:56 up 2 days, 20:46,  8 users,  load average: 0.81, 1.01, 0.67&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 ******       Do not use power from a USB PC port or from a USB Hub. ********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up and running, some details that may help in setting up the hardware for use - I&#039;m currently overclocking at 855MHz  (Previously was set to 1GHz):-&lt;br /&gt;
&lt;br /&gt;
Keyboard, mouse, usb sound card, RTL-SDR TV dongle and USB Gigabit Ethernet fully operational using the 7-port powered USB hub.&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# lsusb&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.&lt;br /&gt;
 &lt;br /&gt;
Bus 001 Device 004: ID 04cc:1521 ST-Ericsson USB 2.0 Hub&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 011: ID 04f3:0103 Elan Microelectronics Corp. &lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 006: ID 047d:1022 Kensington Orbit Optical&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 007: ID 1d19:1101 Dexatek Technology Ltd. DK DVB-T Dongle&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 008: ID 041e:3040 Creative Technology, Ltd SoundBlaster Live! 24-bit External SB0490&lt;br /&gt;
&lt;br /&gt;
Bus 001 Device 009: ID 0b95:1780 ASIX Electronics Corp. AX88178&lt;br /&gt;
root@pisces:~# ifconfig &lt;br /&gt;
&lt;br /&gt;
eth0 Link encap:Ethernet HWaddr b8:27:eb:2c:07:c9&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.10.31  Bcast:192.168.10.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::ba27:ebff:fe2c:7c9/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:410 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:377 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:28905 (28.2 KiB)  TX bytes:35938 (35.0 KiB)&lt;br /&gt;
&lt;br /&gt;
eth1 Link encap:Ethernet HWaddr 00:10:14:00:9f:fa&lt;br /&gt;
&lt;br /&gt;
         inet addr:192.168.2.199  Bcast:192.168.2.255 Mask:255.255.255.0&lt;br /&gt;
         inet6 addr: fe80::210:14ff:fe00:9ffa/64 Scope:Link&lt;br /&gt;
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
         RX packets:5 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:7 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:1000&lt;br /&gt;
         RX bytes:230 (230.0 B)  TX bytes:592 (592.0 B)&lt;br /&gt;
&lt;br /&gt;
lo Link encap:Local Loopback&lt;br /&gt;
&lt;br /&gt;
         inet addr:127.0.0.1  Mask:255.0.0.0&lt;br /&gt;
         inet6 addr: ::1/128 Scope:Host&lt;br /&gt;
         UP LOOPBACK RUNNING  MTU:16436  Metric:1&lt;br /&gt;
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
         collisions:0 txqueuelen:0&lt;br /&gt;
         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /proc/asound/cards&lt;br /&gt;
 0 [ALSA           ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA&lt;br /&gt;
                      bcm2835 ALSA&lt;br /&gt;
&lt;br /&gt;
 1 [External       ]: USB-Audio - SB Live! 24-bit External&lt;br /&gt;
                      Creative Technology SB Live! 24-bit External at usb-bcm2708_usb-1.2.2, full spe&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It&#039;s running at 855MHz with this config.txt file. &lt;br /&gt;
root@pisces:~# cat /boot/config.txt&lt;br /&gt;
&lt;br /&gt;
over_voltage=6&lt;br /&gt;
&lt;br /&gt;
arm_freq=855&lt;br /&gt;
&lt;br /&gt;
core_freq=500&lt;br /&gt;
&lt;br /&gt;
sdram_freq=500&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
    Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or&lt;br /&gt;
    /usr/share/doc/ifupdown/examples for more information. &lt;br /&gt;
&lt;br /&gt;
auto lo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    File: ifcfg-eth0&lt;br /&gt;
&lt;br /&gt;
auto eth0&lt;br /&gt;
&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.10.31&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
gateway 192.168.10.103&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
auto eth1&lt;br /&gt;
&lt;br /&gt;
iface eth1 inet static&lt;br /&gt;
&lt;br /&gt;
address 192.168.2.199&lt;br /&gt;
&lt;br /&gt;
netmask 255.255.255.0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
root@pisces:~# cat /etc/modules&lt;br /&gt;
&lt;br /&gt;
    /etc/modules: kernel modules to load at boot time.&lt;br /&gt;
    This file contains the names of kernel modules that should be loaded&lt;br /&gt;
    at boot time, one per line. Lines beginning with &amp;quot;#&amp;quot; are ignored.&lt;br /&gt;
    Parameters can be specified after the module name. &lt;br /&gt;
&lt;br /&gt;
loop&lt;br /&gt;
&lt;br /&gt;
snd-bcm2835&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One problem remains, no sound from the on-board chip.&lt;br /&gt;
&lt;br /&gt;
===Software=== &lt;br /&gt;
***** START AT THE BEGINNING WHEN BUILDING THE SOFTWARE -- i.e Section 1 and install all the packages recommended and do the pulseaudio setup.&lt;br /&gt;
&lt;br /&gt;
If you build ghpsdr3-alex already it&#039;s a case of following the same procedure with the following caveats that apply to the RasPi ARM architecture. What follows is a blow by blow account of how I did it for the iw0hdv branch which supports my HiQSDR+Preselector. The same steps are needed for building any other branch.&lt;br /&gt;
&lt;br /&gt;
Subject: [n2adr-sdr] Raspberry Pi running ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
The changes made by Andrea have been merged into the master branch. These changes allow samplerates &amp;gt;192K but the Pi doesn&#039;t have the power to run these high samplerates - I am running hiqsdr-server at 960K samplerate on a 8-core x84_64 box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   autoreconf -i &lt;br /&gt;
&lt;br /&gt;
    ./configure CFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; CXXFLAGS=&#039;-O3 -pipe -march=armv6 -mfpu=vfp -mfloat-abi=hard&#039; &lt;br /&gt;
&lt;br /&gt;
**** Additional steps needed when building rtlsdr-server. Do these before running make ******&lt;br /&gt;
# export ac_cv_func_malloc_0_nonnull=yes&lt;br /&gt;
# export ac_cv_func_realloc_0_nonnull=yes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    make all &amp;amp;&amp;amp; make all install &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sound on the Raspberry Pi is still a problem I have not been able to solve.&lt;br /&gt;
&lt;br /&gt;
Terry (WB4JFI) suggested the following that work for him but I have had no luck with it.&lt;br /&gt;
&lt;br /&gt;
&amp;quot;amixer cset numid=3 1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Other valid numid&#039;s are 0=auto, 1=headphones and 2=hdmi.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
QtRadio running on another box using the connection from the server list. Sound is a touch distorted, quite distorted on start up of QtRadio and spectrum is always a little bit slow.&lt;br /&gt;
&lt;br /&gt;
When a slave connected and tried changing frequency, dspserver crashed - dspserver can be a bit crash happy.&lt;br /&gt;
&lt;br /&gt;
The first thing I tried on the Pi was QtRadio standalone, spectrum and waterfall were OK but no sound.&lt;br /&gt;
&lt;br /&gt;
Just now a client using glSDR (5) is attempting to change frequency, sound went quite distorted then dspserver crashed.&lt;br /&gt;
&lt;br /&gt;
Restarted dspserver and QtRadio sound started very distorted before it settled down to reasonable.&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Configuration_Data_for_QtRadio_Hamlib_Clients&amp;diff=794</id>
		<title>Configuration Data for QtRadio Hamlib Clients</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Configuration_Data_for_QtRadio_Hamlib_Clients&amp;diff=794"/>
		<updated>2013-11-30T22:35:58Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;QtRadio can be a hamlib rig.  It emulates a hamlib NET rigctl rig.  The port you use is 19090, so set the device to localhost:19090 if you are running the hamlib client on the same computer you are running QtRadio.  See this photo.[[File:QtRadio-Fldigi.png]].&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Configuration_Data_for_QtRadio_Hamlib_Clients&amp;diff=793</id>
		<title>Configuration Data for QtRadio Hamlib Clients</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Configuration_Data_for_QtRadio_Hamlib_Clients&amp;diff=793"/>
		<updated>2013-11-30T22:35:06Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: Created page with &amp;quot;QtRadio can be a hamlib rig.  It emulates a hamlib NET rigctl rig.  The port you use is 19090, so set the device to localhost:19090 if you are running the hamlib client on the...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;QtRadio can be a hamlib rig.  It emulates a hamlib NET rigctl rig.  The port you use is 19090, so set the device to localhost:19090 if you are running the hamlib client on the same computer you are running QtRadio.  See this photo.[[File:Fldigi using QtRadio including hamlib]].&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=792</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=792"/>
		<updated>2013-11-30T22:29:52Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
You can view the map of online dspservers worldwide at http://www.montefusco.com/ghpsdr3[http://www.montefusco.com/ghpsdr3]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and [[RTL-SDR|rtl-sdr]] DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode). See [[Configuration Data for QtRadio Hamlib Clients]].&lt;br /&gt;
&lt;br /&gt;
[[File:463px-Ghpsdr3.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[Server Operation]]&lt;br /&gt;
**[[dspserver.conf]]&lt;br /&gt;
**[[SSL Key Generation]]&lt;br /&gt;
**[[Hermes]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://openhpsdr.org/wiki/images/6/63/NewbieGuide.pdf&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=791</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=791"/>
		<updated>2013-11-30T22:29:29Z</updated>

		<summary type="html">&lt;p&gt;Kl7na: /* What is the actual ghpsdr3-alex Project software? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===[[What&#039;s New| What&#039;s New and latest news]]===&lt;br /&gt;
=== &#039;&#039;&#039;The ghpsdr3-alex Project&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
This is a modification of the excellent Software Defined Radio (SDR) software by John Melton [G0ORX/N6LYT][http://g0orx.blogspot.com]&lt;br /&gt;
&lt;br /&gt;
The original software by John is called ghpsdr3.  We are working towards merging the two projects (ghpsdr3 and ghpsdr3-alex) source trees to a single source.  However BEFORE that happens, you CANNOT mix and match programs from the two projects.  See note for HPSDR hardware users below.&lt;br /&gt;
  &lt;br /&gt;
Project README https://github.com/alexlee188/ghpsdr3-alex/blob/master/README [https://github.com/alexlee188/ghpsdr3-alex/blob/master/README]&lt;br /&gt;
&lt;br /&gt;
Source Code is via git at https://github.com/alexlee188/ghpsdr3-alex [https://github.com/alexlee188/ghpsdr3-alex]&lt;br /&gt;
&lt;br /&gt;
Discussions take place in the sdr-widget group http://groups.google.com/group/sdr-widget [http://groups.google.com/group/sdr-widget]&lt;br /&gt;
&lt;br /&gt;
You can browse the list of online dspservers at http://qtradio.napan.ca/qtradio/qtradio.pl[http://qtradio.napan.ca/qtradio/qtradio.pl]&lt;br /&gt;
&lt;br /&gt;
You can view the map of online dspservers worldwide at http://www.montefusco.com/ghpsdr3[http://www.montefusco.com/ghpsdr3]&lt;br /&gt;
&lt;br /&gt;
Currently it supports HPSDR, Softrock, UHFSDR, Microtelecom Perseus, SDR-iq, HiQSDR, Ettus Research USRP and [[RTL-SDR|rtl-sdr]] DVB-T dongles.&lt;br /&gt;
&lt;br /&gt;
=== &#039;&#039;&#039;What is the actual ghpsdr3-alex Project software?&#039;&#039;&#039; ===&lt;br /&gt;
&lt;br /&gt;
The software comprises 3 different components:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A)&#039;&#039;&#039;  server - there is a CLI based server for each type of hardware.  For example, there are hpsdr-server, usrp-server, softrock (server), sdriq-server, HiQSDR etc.  Some servers are based on soundcard/USB connections to the hardware.  Some are connected via ethernet (eg HPSDR Metis).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;B)&#039;&#039;&#039;  dspserver - this is the software in the middle that processes the IQ data from the server (connected over LAN via UDP) using DttSP.  The same dspserver can connect to any of the servers in A.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C)&#039;&#039;&#039;  clients - this is the GUI user interface.  There are clients built with Qt and runs on Windows, Linux, and Mac OSX.  There is a working Android client that works on Android phones and Android tablets.  The clients connect to dspserver via LAN or remotely via Internet.  In future we will have java based web clients as well (either specifically written clients, or running Qt inside a web browser)  Also, multiple clients can concurrently access the same dspserver.  There is also RxTx capability (currently for voice modes).  the QtRadio client has a Hamlib interface and can connect to gPredict, xLog, and fldigi (for digital mode). See [Configuration Data for QtRadio Hamlib Clients].&lt;br /&gt;
&lt;br /&gt;
[[File:463px-Ghpsdr3.png]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Project Goals&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
1.  Open source (GPL) SDR software&lt;br /&gt;
&lt;br /&gt;
2.  Client-server network-enabled by design from the ground up&lt;br /&gt;
&lt;br /&gt;
3.  Customized server for each SDR hardware type.  Currently supporting HPSDR, Softrock, UHFSDR, Microtelecom Perseus, RFSPACE SDR-IQ, HiQSDR, Ettus Research USRP, and the rtl-sdr DVB-T dongle.&lt;br /&gt;
&lt;br /&gt;
4.  Single dspserver that connects to single server.  However, each server can have multiple Rx and Tx channels.&lt;br /&gt;
&lt;br /&gt;
5.  Multiple clients, such as QtRadio, that can concurrently connect to a single dspserver.&lt;br /&gt;
&lt;br /&gt;
6.  Full Rx and Tx capability for hardware capable of Tx&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Screenshots and Recordings]] &lt;br /&gt;
*[[QtRadio on Windows]]&lt;br /&gt;
*[[QtRadio - Operation]]&lt;br /&gt;
*[[QtRadio Installation]]&lt;br /&gt;
*[[aHPSDR]] Android Client&lt;br /&gt;
*[[Pulseaudio Setup]]&lt;br /&gt;
*[[Developers Documentation]]&lt;br /&gt;
*[[Server Operation]]&lt;br /&gt;
**[[dspserver.conf]]&lt;br /&gt;
**[[SSL Key Generation]]&lt;br /&gt;
**[[Hermes]]&lt;br /&gt;
*[[ToDo/- Wishlist]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note for HPSDR and ghpsdr3 (original) users:&#039;&#039;&#039;&lt;br /&gt;
In general, you cannot mix and match software from the two projects, ghpsdr3 and ghpsdr3-alex.  However, John has updated the programs in the ghpsdr3-alex repository, and the hpsdr-server program in gphsdr3-alex works for HPSDR hardware.  The following newbie guide is written by Erich Heinzle (vk5hse at yahoo.com):&lt;br /&gt;
&lt;br /&gt;
http://openhpsdr.org/wiki/images/6/63/NewbieGuide.pdf&lt;/div&gt;</summary>
		<author><name>Kl7na</name></author>
	</entry>
</feed>