<?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=Iw0hdv</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=Iw0hdv"/>
	<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php/Special:Contributions/Iw0hdv"/>
	<updated>2026-04-08T23:43:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=891</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=891"/>
		<updated>2016-06-12T13:54:53Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: Link to client server network setup added.&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;
&#039;&#039;&#039;Note for client-server network setup&#039;&#039;&#039;&lt;br /&gt;
A few notes on client network setup are found at http://www.montefusco.com/ghpsdr3cs[http://www.montefusco.com/ghpsdr3cs]&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=868</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=868"/>
		<updated>2015-06-11T20:14:21Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Building the Perseus extensions */&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 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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=850</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=850"/>
		<updated>2014-12-13T19:56:47Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** What&#039;s New|What&#039;s New&lt;br /&gt;
**Screenshots and Recordings|Screenshots &lt;br /&gt;
** QtRadio - Operation|QtRadio -Operation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation&lt;br /&gt;
** QtRadio on Windows|QtRadio -on Windows&lt;br /&gt;
** aHPSDR| Android Client&lt;br /&gt;
** Pulseaudio Setup|Pulseaudio Setup&lt;br /&gt;
**Ghpsdr3-usb|Ghpsdr3-usb-boot&lt;br /&gt;
** Odroid|ODROID&lt;br /&gt;
** Developers Documentation|Developers&lt;br /&gt;
** Ubuntu14|Installing on U14.10&lt;br /&gt;
** ToDo/- Wishlist|ToDo Bugs Wishlist&lt;br /&gt;
** Utilities|Utilities &amp;amp; Add-ons&lt;br /&gt;
&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=849</id>
		<title>Ubuntu14</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=849"/>
		<updated>2014-12-13T18:22:01Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* 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 qtmobility-dev libqtmultimediakit1  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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=848</id>
		<title>Ubuntu14</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=848"/>
		<updated>2014-12-13T17:51:18Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* 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 qtmobility-dev libqtmultimediakit1&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=847</id>
		<title>Ubuntu14</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=847"/>
		<updated>2014-12-13T17:06:12Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* 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 qtmobility-dev libqtmultimediakit1&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;
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.sh &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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=846</id>
		<title>Ubuntu14</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Ubuntu14&amp;diff=846"/>
		<updated>2014-12-13T16:52:33Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: Created page with &amp;quot;===== Ubuntu 14.10 ===== 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 Setting...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===== Ubuntu 14.10 =====&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 upgrade&lt;br /&gt;
sudo apt-get 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;
sudo apt-get install qt5-default qt5-qmake qtmobility-dev libqtmultimediakit1&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;
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.sh &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 teh 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 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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=845</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=845"/>
		<updated>2014-12-13T16:47:00Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** What&#039;s New|What&#039;s New&lt;br /&gt;
**Screenshots and Recordings|Screenshots &lt;br /&gt;
** QtRadio - Operation|QtRadio -Operation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation in Ubuntu 14.10&lt;br /&gt;
** QtRadio on Windows|QtRadio -on Windows&lt;br /&gt;
** aHPSDR| Android Client&lt;br /&gt;
** Pulseaudio Setup|Pulseaudio Setup&lt;br /&gt;
**Ghpsdr3-usb|Ghpsdr3-usb-boot&lt;br /&gt;
** Odroid|ODROID&lt;br /&gt;
** Developers Documentation|Developers&lt;br /&gt;
** Ubuntu14|Installing on U14.10&lt;br /&gt;
** ToDo/- Wishlist|ToDo Bugs Wishlist&lt;br /&gt;
** Utilities|Utilities &amp;amp; Add-ons&lt;br /&gt;
&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=798</id>
		<title>Dspserver.conf</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=798"/>
		<updated>2013-12-23T22:10:59Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* dspserver.conf */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==dspserver.conf==&lt;br /&gt;
&lt;br /&gt;
*As of version Feb 01 2012 dspserver will now require a dspserver conf file.  By default it will be created in a users home directory if one does not exist.  dspserver may be started with an alternate  file using the --shareconfig option.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The original file contained:&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Simple config file for ghpsdr3&#039;s dspserver.&lt;br /&gt;
# default file is located at ~/dspserver.conf when dsp server is started with --share&lt;br /&gt;
# The information below will be supplied to a web database which will aid QtRadio&lt;br /&gt;
# users find active dspservers to connect to.  You may also see the current list at&lt;br /&gt;
# http://napan.ca/qtradio/qtradio.pl&lt;br /&gt;
# valid fields are call, location, band, rig and ant&lt;br /&gt;
# lines must end with ; and any characters after a # is a comment and ignored&lt;br /&gt;
# field values must be enclosed with &amp;quot; ie: &amp;quot;xxxx&amp;quot;&lt;br /&gt;
# This default file will be created if dspserver is started with the --share option and ~/dspserver.conf does not exist&lt;br /&gt;
# You may also start dspserver with an alternate config file by starting dspserver with --shareconfig /home/alternate_filename.conf&lt;br /&gt;
# Note field names are all lowercase!&lt;br /&gt;
&lt;br /&gt;
call = &amp;quot;VE9GJ&amp;quot;;&lt;br /&gt;
location = &amp;quot;Napan, NB FN77&amp;quot;;&lt;br /&gt;
band = &amp;quot;20, 15, 10&amp;quot;;&lt;br /&gt;
rig = &amp;quot;SoftRock rxtx-event&amp;quot;;&lt;br /&gt;
ant = &amp;quot;4el Yagi Pointed NE&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to bring up your own radio in the GHPSDR3 web page&lt;br /&gt;
&lt;br /&gt;
http://www.montefusco.com/ghpsdr3&lt;br /&gt;
&lt;br /&gt;
is mandatory to insert, in location field, the QTH locator of your station.&lt;br /&gt;
See http://no.nonsense.ee/qth/map.html for a quick way to find it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;New Sections as of Feb 01 2012:&#039;&#039;&#039;&lt;br /&gt;
* share and lookupcountry can now be set in the conf file&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;share = &amp;quot;yes&amp;quot;; # Can be yes, no&lt;br /&gt;
lookupcountry = &amp;quot;yes&amp;quot;; # Can be yes, no &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* TX needs to be set if not&#039;&#039;&#039; TX will be disabled&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tx = &amp;quot;password&amp;quot;;  #Can be: no, yes, password&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx= no&#039;&#039;&#039; will disable all TX&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=yes&#039;&#039;&#039; will allow all TX dspserver will behave as before Feb 01 2012 version&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=password&#039;&#039;&#039; will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.&amp;lt;br&amp;gt;&lt;br /&gt;
* User / passwords are added one per line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ve9gj = &amp;quot;secretpassword&amp;quot;;  #add users/passwords one per line (max 20 characters each!)&lt;br /&gt;
dl6kbg=&amp;quot;hissecret&amp;quot;;&lt;br /&gt;
zl2apv=&amp;quot;anothersecret&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Multiple rule groups are allowed so permissions can be set by group.  You need to list any group names you want to use in the groupnames line. Limit 20 characters and avoid spaces&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;groupnames = [&amp;quot;txrulesall&amp;quot;, &amp;quot;txrules20m_only&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Now each groupname needs a line that lists it&#039;s members.  Use the group name with _members appended to it. &#039;&#039;Note the format = [ &amp;quot;user1&amp;quot;, &amp;quot;user2&amp;quot;];&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall_members = [&amp;quot;ve9gj&amp;quot;]; &lt;br /&gt;
txrules20m_only_members = [&amp;quot;ve9gj&amp;quot;,&amp;quot;zl2apv&amp;quot;,&amp;quot;dl6kbg&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now each rule group need it&#039;s own section one line per rule  rule are defined as mode, start Mhz, end Mhz. &#039;&#039;Note the format =(  (&amp;quot;mode&amp;quot;, 7.0, 7.1), (&amp;quot;mode&amp;quot;,1.8, 2.0) );&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall = (&lt;br /&gt;
     (&amp;quot;*&amp;quot;,1.8,30.0) # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     );&lt;br /&gt;
txrules20m_only = (&lt;br /&gt;
     (&amp;quot;CW&amp;quot;,14.0,14.1), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;SSB&amp;quot;,14.1,14.35), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;AM&amp;quot;,14.3,14.35)&lt;br /&gt;
          );&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mode needs to be in double quotes &amp;quot;AM&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
Mode can use &amp;quot;*&amp;quot; to mean any mode allowed&amp;lt;br&amp;gt;&lt;br /&gt;
Mode must be in Upper Case (Capital Letters)&amp;lt;br&amp;gt;&lt;br /&gt;
Tune is actually a form of AM mode so you will need to have AM mode enabled if you want to use Tune&amp;lt;br&amp;gt;  &lt;br /&gt;
Frequencies are in Mhz with the decimal point&amp;lt;br&amp;gt;&lt;br /&gt;
The first rule that matches will allow TX&amp;lt;br&amp;gt;&lt;br /&gt;
the User / Pass is sent with every MOX command so if a connection fails and another user somehow happens to attach as the wrong connected client he still cannot TX without the password&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On the QtRadio Configure--&amp;gt;Transmit Tab you will find a table to save user passwords for specific servers.  The server name is the same as what is on the Quick connect list and will now show up in the Main Window title bar. &lt;br /&gt;
* When QtRadio connects to a &amp;gt;= Feb 01 2012 dspserver it will check this table for a saved user pass and automatically send it when clicking the tune or mox buttons.&lt;br /&gt;
* Still to come is feed back to QtRadio when TX has been denied.  At the moment TX just fails.  The dspserver console will list the user name that attempt to TX.&lt;br /&gt;
&lt;br /&gt;
73&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=797</id>
		<title>Dspserver.conf</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Dspserver.conf&amp;diff=797"/>
		<updated>2013-12-23T22:03:05Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* dspserver.conf */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==dspserver.conf==&lt;br /&gt;
&lt;br /&gt;
*As of version Feb 01 2012 dspserver will now require a dspserver conf file.  By default it will be created in a users home directory if one does not exist.  dspserver may be started with an alternate  file using the --shareconfig option.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The original file contained:&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;# Simple config file for ghpsdr3&#039;s dspserver.&lt;br /&gt;
# default file is located at ~/dspserver.conf when dsp server is started with --share&lt;br /&gt;
# The information below will be supplied to a web database which will aid QtRadio&lt;br /&gt;
# users find active dspservers to connect to.  You may also see the current list at&lt;br /&gt;
# http://napan.ca/qtradio/qtradio.pl&lt;br /&gt;
# valid fields are call, location, band, rig and ant&lt;br /&gt;
# lines must end with ; and any characters after a # is a comment and ignored&lt;br /&gt;
# field values must be enclosed with &amp;quot; ie: &amp;quot;xxxx&amp;quot;&lt;br /&gt;
# This default file will be created if dspserver is started with the --share option and ~/dspserver.conf does not exist&lt;br /&gt;
# You may also start dspserver with an alternate config file by starting dspserver with --shareconfig /home/alternate_filename.conf&lt;br /&gt;
# Note field names are all lowercase!&lt;br /&gt;
&lt;br /&gt;
call = &amp;quot;VE9GJ&amp;quot;;&lt;br /&gt;
location = &amp;quot;Napan, NB FN77&amp;quot;;&lt;br /&gt;
band = &amp;quot;20, 15, 10&amp;quot;;&lt;br /&gt;
rig = &amp;quot;SoftRock rxtx-event&amp;quot;;&lt;br /&gt;
ant = &amp;quot;4el Yagi Pointed NE&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want your radio shown on the map at&lt;br /&gt;
&lt;br /&gt;
http://www.montefusco.com/ghpsdr3&lt;br /&gt;
&lt;br /&gt;
is mandatory to insert, in location field, the QTH locator of your station.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;New Sections as of Feb 01 2012:&#039;&#039;&#039;&lt;br /&gt;
* share and lookupcountry can now be set in the conf file&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;share = &amp;quot;yes&amp;quot;; # Can be yes, no&lt;br /&gt;
lookupcountry = &amp;quot;yes&amp;quot;; # Can be yes, no &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* TX needs to be set if not&#039;&#039;&#039; TX will be disabled&#039;&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;tx = &amp;quot;password&amp;quot;;  #Can be: no, yes, password&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx= no&#039;&#039;&#039; will disable all TX&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=yes&#039;&#039;&#039; will allow all TX dspserver will behave as before Feb 01 2012 version&amp;lt;br&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;tx=password&#039;&#039;&#039; will require a user/password pair when sending a mox command and will be checked against the TX rules for that user before TX is allowed This is handled automatically by QtRadio.&amp;lt;br&amp;gt;&lt;br /&gt;
* User / passwords are added one per line&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;ve9gj = &amp;quot;secretpassword&amp;quot;;  #add users/passwords one per line (max 20 characters each!)&lt;br /&gt;
dl6kbg=&amp;quot;hissecret&amp;quot;;&lt;br /&gt;
zl2apv=&amp;quot;anothersecret&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Multiple rule groups are allowed so permissions can be set by group.  You need to list any group names you want to use in the groupnames line. Limit 20 characters and avoid spaces&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;groupnames = [&amp;quot;txrulesall&amp;quot;, &amp;quot;txrules20m_only&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Now each groupname needs a line that lists it&#039;s members.  Use the group name with _members appended to it. &#039;&#039;Note the format = [ &amp;quot;user1&amp;quot;, &amp;quot;user2&amp;quot;];&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall_members = [&amp;quot;ve9gj&amp;quot;]; &lt;br /&gt;
txrules20m_only_members = [&amp;quot;ve9gj&amp;quot;,&amp;quot;zl2apv&amp;quot;,&amp;quot;dl6kbg&amp;quot;];&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now each rule group need it&#039;s own section one line per rule  rule are defined as mode, start Mhz, end Mhz. &#039;&#039;Note the format =(  (&amp;quot;mode&amp;quot;, 7.0, 7.1), (&amp;quot;mode&amp;quot;,1.8, 2.0) );&#039;&#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;txrulesall = (&lt;br /&gt;
     (&amp;quot;*&amp;quot;,1.8,30.0) # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     );&lt;br /&gt;
txrules20m_only = (&lt;br /&gt;
     (&amp;quot;CW&amp;quot;,14.0,14.1), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;SSB&amp;quot;,14.1,14.35), # mode, StartFreq Mhz, EndFreq Mhz&lt;br /&gt;
     (&amp;quot;AM&amp;quot;,14.3,14.35)&lt;br /&gt;
          );&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mode needs to be in double quotes &amp;quot;AM&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
Mode can use &amp;quot;*&amp;quot; to mean any mode allowed&amp;lt;br&amp;gt;&lt;br /&gt;
Mode must be in Upper Case (Capital Letters)&amp;lt;br&amp;gt;&lt;br /&gt;
Tune is actually a form of AM mode so you will need to have AM mode enabled if you want to use Tune&amp;lt;br&amp;gt;  &lt;br /&gt;
Frequencies are in Mhz with the decimal point&amp;lt;br&amp;gt;&lt;br /&gt;
The first rule that matches will allow TX&amp;lt;br&amp;gt;&lt;br /&gt;
the User / Pass is sent with every MOX command so if a connection fails and another user somehow happens to attach as the wrong connected client he still cannot TX without the password&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* On the QtRadio Configure--&amp;gt;Transmit Tab you will find a table to save user passwords for specific servers.  The server name is the same as what is on the Quick connect list and will now show up in the Main Window title bar. &lt;br /&gt;
* When QtRadio connects to a &amp;gt;= Feb 01 2012 dspserver it will check this table for a saved user pass and automatically send it when clicking the tune or mox buttons.&lt;br /&gt;
* Still to come is feed back to QtRadio when TX has been denied.  At the moment TX just fails.  The dspserver console will list the user name that attempt to TX.&lt;br /&gt;
&lt;br /&gt;
73&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=678</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=678"/>
		<updated>2013-01-11T12:29:55Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to install on U2 a stable kernel */&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=677</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=677"/>
		<updated>2013-01-11T12:29:20Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to install on U2 a stable kernel */&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 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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=676</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=676"/>
		<updated>2013-01-11T12:29:02Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Odroid Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install on U2 a 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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=675</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=675"/>
		<updated>2013-01-11T12:27:44Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* HardKernel documentation on ODROID X and Q */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install on U2 a 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;
&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;
= 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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=666</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=666"/>
		<updated>2013-01-08T00:12:10Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Forcing all CPU&amp;#039;s active */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install on U2 a 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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=665</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=665"/>
		<updated>2013-01-08T00:09:56Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install on U2 a 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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=664</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=664"/>
		<updated>2013-01-07T23:31:25Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= How to install on U2 a 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;
&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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=663</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=663"/>
		<updated>2013-01-07T22:13:21Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=662</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=662"/>
		<updated>2013-01-06T22:36:41Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=661</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=661"/>
		<updated>2013-01-06T22:14:41Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
In order to avoid issues with xcb, we have to install the following packages:&lt;br /&gt;
 &lt;br /&gt;
 sudo apt-get install &amp;quot;^libxcb.*&amp;quot; libx11-xcb-dev libglu1-mesa-dev libxrender-dev&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  -D CPPFLAGS=-O2 -D-O2&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=660</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=660"/>
		<updated>2013-01-06T22:10:06Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
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  -D CPPFLAGS=-O2 -D-O2&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=659</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=659"/>
		<updated>2013-01-06T22:05:06Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
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  -D CPPFLAGS=-O2&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=658</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=658"/>
		<updated>2013-01-03T17:34:11Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
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;
&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=657</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=657"/>
		<updated>2013-01-03T16:56:48Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=656</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=656"/>
		<updated>2013-01-03T16:52:53Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd qt5&lt;br /&gt;
perl init-repository --no-webkit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=655</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=655"/>
		<updated>2013-01-03T16:52:06Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd qt5&lt;br /&gt;
perl init-repository --no-webkit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;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;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=654</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=654"/>
		<updated>2013-01-03T02:02:40Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd qt5&lt;br /&gt;
perl init-repository --no-webkit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=653</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=653"/>
		<updated>2013-01-03T02:00:40Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* How to compile Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd qt5&lt;br /&gt;
perl init-repository --no-webkit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure -developer-build -opensource -nomake examples -nomake tests -no-pch  -qt-xcb&lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=652</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=652"/>
		<updated>2013-01-03T01:53:23Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** What&#039;s New|What&#039;s New&lt;br /&gt;
**Screenshots and Recordings|Screenshots &lt;br /&gt;
** QtRadio - Operation|QtRadio -Operation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation&lt;br /&gt;
** QtRadio on Windows|QtRadio -on Windows&lt;br /&gt;
** aHPSDR| Android Client&lt;br /&gt;
** Pulseaudio Setup|Pulseaudio Setup&lt;br /&gt;
**Ghpsdr3-usb|Ghpsdr3-usb-boot&lt;br /&gt;
** Odroid|ODROID&lt;br /&gt;
** Developers Documentation|Developers&lt;br /&gt;
** ToDo/- Wishlist|ToDo Bugs Wishlist&lt;br /&gt;
** Utilities|Utilities &amp;amp; Add-ons&lt;br /&gt;
&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=651</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=651"/>
		<updated>2013-01-03T01:53:01Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** What&#039;s New|What&#039;s New&lt;br /&gt;
**Screenshots and Recordings|Screenshots &lt;br /&gt;
** QtRadio - Operation|QtRadio -Operation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation&lt;br /&gt;
** QtRadio on Windows|QtRadio -on Windows&lt;br /&gt;
** aHPSDR| Android Client&lt;br /&gt;
** Pulseaudio Setup|Pulseaudio Setup&lt;br /&gt;
**Ghpsdr3-usb|Ghpsdr3-usb-boot&lt;br /&gt;
** ODROID|Odroid&lt;br /&gt;
** Developers Documentation|Developers&lt;br /&gt;
** ToDo/- Wishlist|ToDo Bugs Wishlist&lt;br /&gt;
** Utilities|Utilities &amp;amp; Add-ons&lt;br /&gt;
&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=650</id>
		<title>MediaWiki:Sidebar</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=MediaWiki:Sidebar&amp;diff=650"/>
		<updated>2013-01-03T01:51:53Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;* navigation&lt;br /&gt;
** mainpage|mainpage-description&lt;br /&gt;
** What&#039;s New|What&#039;s New&lt;br /&gt;
**Screenshots and Recordings|Screenshots &lt;br /&gt;
** QtRadio - Operation|QtRadio -Operation&lt;br /&gt;
**QtRadio Installation|QtRadio -Installation&lt;br /&gt;
** QtRadio on Windows|QtRadio -on Windows&lt;br /&gt;
** aHPSDR| Android Client&lt;br /&gt;
** Pulseaudio Setup|Pulseaudio Setup&lt;br /&gt;
**Ghpsdr3-usb|Ghpsdr3-usb-boot&lt;br /&gt;
** ODROID|odroid&lt;br /&gt;
** Developers Documentation|Developers&lt;br /&gt;
** ToDo/- Wishlist|ToDo Bugs Wishlist&lt;br /&gt;
** Utilities|Utilities &amp;amp; Add-ons&lt;br /&gt;
&lt;br /&gt;
** recentchanges-url|recentchanges&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* SEARCH&lt;br /&gt;
* TOOLBOX&lt;br /&gt;
* LANGUAGES&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=649</id>
		<title>Odroid</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Odroid&amp;diff=649"/>
		<updated>2013-01-03T01:46:40Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: Qt5 build procedure on ODROID&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils mesa-common-dev libgl1-mesa-dev x11proto-xext-dev libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
Clone the base repository:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone git://gitorious.org/qt/qt5.git qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd qt5&lt;br /&gt;
perl init-repository --no-webkit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure -developer-build -opensource -nomake examples -nomake tests -no-pch &lt;br /&gt;
make -j8&lt;br /&gt;
&amp;lt;/pre&amp;gt;&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
export PATH=~/qt5/qtbase/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=646</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=646"/>
		<updated>2012-12-28T19:42:26Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Setting the path to qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
&lt;br /&gt;
http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
U should download the Qt5.0.0 libraries file.  64 bit for x86_64 and 32 bit for x86 PC etc.&lt;br /&gt;
&lt;br /&gt;
After downloading you go to the download directory and do:&lt;br /&gt;
&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
After that you should have something installed in /opt/Qt5.0.0&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.0.0/5.0.0/gcc_64/bin:/opt/Qt5.0.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is due because the several packages from Qt sources and binary repositories web sites are not really &#039;&#039;installed&#039;&#039; in the system but simply copied on it.&lt;br /&gt;
Therefore the autotools build system should search virtually over the whole filesystem.&lt;br /&gt;
&lt;br /&gt;
In any case please remember that&lt;br /&gt;
&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;
&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;
&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;
== Compiling QtRadio ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
sh ./alex-conf.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=645</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=645"/>
		<updated>2012-12-28T19:30:38Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Compiling QtRadio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
&lt;br /&gt;
http://qt-project.org/downloads&lt;br /&gt;
&lt;br /&gt;
U should download the Qt5.0.0 libraries file.  64 bit for x86_64 and 32 bit for x86 PC etc.&lt;br /&gt;
&lt;br /&gt;
After downloading you go to the download directory and do:&lt;br /&gt;
&lt;br /&gt;
$ chmod +x the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
$ sudo ./the-name-of-the-downloaded-file&lt;br /&gt;
&lt;br /&gt;
After that you should have something installed in /opt/Qt5.0.0&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/opt/Qt5.0.0/5.0.0/gcc_64/bin:/opt/Qt5.0.0/Tools/QtCreator/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling QtRadio ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
&lt;br /&gt;
sh ./alex-conf.sh&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/Qt5.0.0/5.0.0/gcc_64/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=633</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=633"/>
		<updated>2012-12-07T22:13:11Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Installing Qt5 Beta */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
Two options are available:&lt;br /&gt;
&lt;br /&gt;
# Qt5 beta (preferred)&lt;br /&gt;
# Canonical Qt5 Edgers ppa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Qt5 Beta 1 ==&lt;br /&gt;
&lt;br /&gt;
You download and install the Qt5 Beta 1 with the proper package from the following page:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;http://releases.qt-project.org/qt5.0/beta1/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: also a more recent release does exist (Beta2); however, due to a misalignment between QAction class and uic preprocessor, the UI.cpp fails to compile.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You set the path to point to the qmake you want to use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/where/the/Qt/bin/dir/is:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, mine is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can check which version of Qt is active by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ qmake --version&lt;br /&gt;
QMake version 2.01a Using Qt version 5.0.0 in /home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The master branch now has conditional compile for Qt5 Beta and for older versions of Qt. Once the above PATH is set for the version of Qt you want, you can just use the usual automake steps to build.&lt;br /&gt;
&lt;br /&gt;
The opengl-qt5 branch is customised for qt5 Beta ONLY. You also need to have a video card/ video chip in your PC that is opengl 2.0 compatible for it to compile and run.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=632</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=632"/>
		<updated>2012-12-07T18:59:28Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* The ghpsdr3-alex Project */&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)&lt;br /&gt;
&lt;br /&gt;
&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;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=631</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=631"/>
		<updated>2012-12-06T01:21:24Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Installing Qt5 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
Two options are available:&lt;br /&gt;
&lt;br /&gt;
# Qt5 beta (preferred)&lt;br /&gt;
# Canonical Qt5 Edgers ppa&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Installing Qt5 Beta ==&lt;br /&gt;
&lt;br /&gt;
You download and install the Qt5 Beta:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;http://releases.qt-project.org/qt5.0/beta1/&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You set the path to point to the qmake you want to use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ export PATH=/where/the/Qt/bin/dir/is:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, mine is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;export PATH=/home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/bin:$PATH&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can check which version of Qt is active by:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;$ qmake --version&lt;br /&gt;
QMake version 2.01a Using Qt version 5.0.0 in /home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/lib&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The master branch now has conditional compile for Qt5 Beta and for older versions of Qt. Once the above PATH is set for the version of Qt you want, you can just use the usual automake steps to build.&lt;br /&gt;
&lt;br /&gt;
The opengl-qt5 branch is customised for qt5 Beta ONLY. You also need to have a video card/ video chip in your PC that is opengl 2.0 compatible for it to compile and run. &lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=What%27s_New&amp;diff=630</id>
		<title>What&#039;s New</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=What%27s_New&amp;diff=630"/>
		<updated>2012-12-06T01:02:40Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Sep 22 2012 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;===Nov 26 2012===&lt;br /&gt;
glSDR version 28 is in Google Play and is also available for download.&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR28.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===Nov 20 2012===&lt;br /&gt;
glSDR version 27 is in Google Play and is also available for download.  It has been tweaked to support Adreno GPU based devices.&lt;br /&gt;
&lt;br /&gt;
===Nov 18 2012===&lt;br /&gt;
glSDR version 25 is in Google Play.  Servers list is now updated on each SERVERS MENU invocation.  Default frequency for each band is saved on exit in master mode.  Band specific default frequencies can be reset to factory default via the BAND MENU.&lt;br /&gt;
&lt;br /&gt;
===Oct 20 2012===&lt;br /&gt;
glSDR version 21 is in Google Play.  Slave tracks freq, mode and (fake) filter settings of master.  Master/slave status is displayed in Title bar.&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR21.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===Oct 17 2012===&lt;br /&gt;
glSDR version with waterfall disabled.  It may work with Adreno gpu based devices.&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR_no_waterfall.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===Sep 24 2012===&lt;br /&gt;
Sep 24 2012 glSDR version 16 is in Play Store. You can also download here:&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR16.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===Sep 22 2012===&lt;br /&gt;
Online dspserver Server Map Thanks Andrea!  http://www.montefusco.com/ghpsdr3&lt;br /&gt;
&lt;br /&gt;
===Sep 20 2012===&lt;br /&gt;
glSDR version 12 is in Play Store.  You can also download here:&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR12.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
It has an 80khz FM filter for listening to FM broadcasts and also options for Spectrum Averaging.&lt;br /&gt;
&lt;br /&gt;
===Sep 17 2012===&lt;br /&gt;
Added direct support in QtRadio (linux) for the Griffin Powermate Vfo knob. Pushing the knob cycles through vfo step size.&lt;br /&gt;
&lt;br /&gt;
===Sep 15 2012===&lt;br /&gt;
&lt;br /&gt;
Codec2 has been updated to the latest developmental branch.  This branch can be downloaded:&lt;br /&gt;
&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
&lt;br /&gt;
This has a new API and it has updated codec2, including a new 3200 bps codec which gives better quality than the 2400 bps codec we have used in the past.&lt;br /&gt;
&lt;br /&gt;
Both master and opengl-qt5 branches have been updated with the new codec2.  You need to download the codec2-dev branch above, rebuild codec2, and then rebuild dspserver and QtRadio.&lt;br /&gt;
&lt;br /&gt;
===Sep 14 2012===&lt;br /&gt;
glSDR version 10 is in Play Store, For those without access to Play, you can download from:&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR10.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===Sep 12 2012===&lt;br /&gt;
The zoom feature has been ported to glSDR.  Ver 9 is now in Play store.  For those without access to Play store, you can download the apk here:&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR9.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
With the recent changes, high bandwidth rigs are now adequately supported by ghpsdr3-alex.  You can zoom in and out to spectrum/waterfall up to 960 ksps and beyond.&lt;br /&gt;
&lt;br /&gt;
Note that Glenn has also compiled a Windows binary of QtRadio that has the zoom feature and other updates to allow you to access rigs such as HiQSDR and Perseus. allowing you to set Pre-selector, attentuator etc.&lt;br /&gt;
&lt;br /&gt;
===Sep 10 2012===&lt;br /&gt;
The LO_offset mechanism has been revamped.  The rotation of the spectrum data is now done entirely in dspserver.  Therefore clients eg. QtRadio, glSDR, do not have to rotate the data anymore.&lt;br /&gt;
&lt;br /&gt;
This is needed to support the new zoom feature.  You can now zoom the spectrum/waterfall on the fly.  This feature is very useful for looking closely at a signal, eg 50Hz CW for you to tune spot on, and also for very wide bandwidth hardware such as Peuseus and HiQSDR.  We now have servers running 500 ksps or even 960 ksps.&lt;br /&gt;
&lt;br /&gt;
Checkout these videos:&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=g3vbv.ogv&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
http://code.google.com/p/sdr-widget/downloads/detail?name=g3vbv2.ogv&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
It will take a while for all dspservers to be updated to the lastest code and you must use the latest QtRadio and glSDR (ver 8 or later) for the new LO_offset.&lt;br /&gt;
&lt;br /&gt;
===Sep 5 2012===&lt;br /&gt;
&lt;br /&gt;
Just to summarise the status of support of the just released Qt5 Beta1 for building QtRadio under Linux:&lt;br /&gt;
&lt;br /&gt;
1.  You download and install the Qt5 Beta:&lt;br /&gt;
&lt;br /&gt;
http://releases.qt-project.org/qt5.0/beta1/&lt;br /&gt;
&lt;br /&gt;
2.  You set the path to point to the qmake you want to use:&lt;br /&gt;
&lt;br /&gt;
$ export PATH=/where/the/Qt/bin/dir/is:$PATH&lt;br /&gt;
&lt;br /&gt;
(For example, mine is:&lt;br /&gt;
&lt;br /&gt;
export PATH=/home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
3.  You can check which version of Qt is active by:&lt;br /&gt;
&lt;br /&gt;
$ qmake --version&lt;br /&gt;
&lt;br /&gt;
(For example, mine is:&lt;br /&gt;
&lt;br /&gt;
alex@alex-Aspire-4750:~/ghpsdr3-alex$ qmake --version&lt;br /&gt;
QMake version 2.01a&lt;br /&gt;
Using Qt version 5.0.0 in /home/alex/Qt5.0.0beta1/Desktop/Qt/5.0.0-beta1/gcc_64/lib&lt;br /&gt;
&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
4.  The master branch now has conditional compile for Qt5 Beta and for older versions of Qt.  Once the above PATH is set for the version of Qt you want, you can just use the usual automake steps to build.&lt;br /&gt;
&lt;br /&gt;
5.  The opengl-qt5 branch is customised for qt5 Beta ONLY.  You also need to have a video card/ video chip in your PC that is opengl 2.0 compatible for it to compile and run.&lt;br /&gt;
&lt;br /&gt;
===Aug 3 2012===&lt;br /&gt;
glSDR updated to version 6.  This has Rx IQ Correction setting in the DSP tab.  You should enable it only when connecting to servers running IQ based hardware (eg Softrock, UHFSDR), but NOT direct sampling rigs (eg Perseus).&lt;br /&gt;
&lt;br /&gt;
===July 3 2012===&lt;br /&gt;
Experimental version of glSDR (version 5) that has Tx capabilities. Will only work in certain devices capable of 8khz microphone audio recording and fast CPU at the moment. Go to MENU &amp;gt; Tx to enable tx. Will only work with servers allowing anyone to Tx. http://code.google.com/p/sdr-widget/downloads/detail?name=glSDR.apk&amp;amp;can=2&amp;amp;q=&lt;br /&gt;
&lt;br /&gt;
===May 30 2012===&lt;br /&gt;
The opengl ES 2.0 enabled version of the Android client has been uploaded to Google Play store and can be downloaded to compatible Android devices.  The name of the App is glSDR.&lt;br /&gt;
&lt;br /&gt;
===May 28 2012===&lt;br /&gt;
Tx audio encoding now has two available codecs:  aLaw and Codec2.  aLaw uses higher LAN bandwidth but the audio quality is much better than Codec2.  aLaw is also suitable for digital mode Tx using the fldigi front-end connected to QtRadio.  The Tx code is available in both the master and the opengl-qt5 branches.&lt;br /&gt;
&lt;br /&gt;
===May 19 2012===&lt;br /&gt;
Qt5 has the bug fix for pull mode audio in Qt.  The master branch and the opengl-qt5 branch can be built with the latest Qt5 (BETA) daily snapshot and the audio in pull mode works very well with Ubuntu 12.04 where most users had problems.&lt;br /&gt;
&lt;br /&gt;
===May 12 2012===&lt;br /&gt;
Experimental support for [[RTL-SDR]] available.&lt;br /&gt;
&lt;br /&gt;
===Apr 11 2012===&lt;br /&gt;
* The branch audio-testing was created for linux users who were having trouble with Qt&#039;s lack of sound in QtRadio.  It seemed to be more of a problem with newer 64 bit installs.  audio-testing bypasses QT for audio playback and calls pulse audio libs directly. You may have to direct sound to your proper sound device with pavucontrol.&lt;br /&gt;
&lt;br /&gt;
===Apr 5 2012===&lt;br /&gt;
* Created an article on the Utilities &amp;amp; Add-ons page called: &amp;quot;Full featured recording script&amp;quot; unsing sox and rigctl (hamlib).&lt;br /&gt;
&lt;br /&gt;
===Apr 4 2012===&lt;br /&gt;
* A new branch, opengl, has working QtRadio code that uses OpenGL shaders to compute and display the waterfall.  The waterfall is actually a 3-D cube and you can pan/zoom with mouse drags on the waterfall display.  Drag it all the way to one side and you can have a glimpse of the sides of the cube.  The aim of this QtRadio is to offload work from the cpu to the gpu.  If your system has a weak cpu (eg atom) and a powerful gpu (eg nvidia ION) it should reduce the cpu util significantly.&lt;br /&gt;
&lt;br /&gt;
===Mar 18 2012===&lt;br /&gt;
* A new build for windows from the new protocol-3 branch is available at: http://napan.com/ve9gj/qtradio-protocol-3.zip (Built Mar 18 2012). This uses the new protocol-3 and should be able to connect with master and protocol-3 servers. Still experimental. It contains improvements to the spectrum and waterfall refresh rates for remote connections.&lt;br /&gt;
&lt;br /&gt;
===Feb 25 2012===&lt;br /&gt;
* New Windows build of QtRadio (master branch)  Download: http://napan.com/ve9gj/qtradio-master.zip&lt;br /&gt;
===Feb 19 2012===&lt;br /&gt;
* Graeme ZL2APV has coded CW receive in QtRadio to behave the same as Kenwood, Yaesu, K3 etc.&lt;br /&gt;
===Feb 18 2012===&lt;br /&gt;
* Frank DG1SBG has got QtRadio to run on Mac OS X 10.6.8 ! http://www.youtube.com/watch?v=LaWnr6Pn3ek&lt;br /&gt;
===Feb 17 2012===&lt;br /&gt;
* Bugfix to possible segfault in dspserver&lt;br /&gt;
===Feb 16 2012===&lt;br /&gt;
* New Windows build of QtRadio (master branch)  Download: http://napan.com/ve9gj/qtradio-master.zip&lt;br /&gt;
===Feb 11 2012===&lt;br /&gt;
* The android client AHPSDR now has a Server list feature just like QtRadio. Look under the menu item Servers and select from among the active servers  Download information on the  [[AHPSDR]] page&lt;br /&gt;
* The branch to use for most users is now the master branch.  This is the one that most dspservers are running&lt;br /&gt;
* Fixed SetTXAMCarrierLevel bug when tx =&amp;quot;all&amp;quot; in master branch &lt;br /&gt;
* Two key Rx audio functions into their own QThread in QtRadio.  This should help lower spec&#039;d PCs&lt;br /&gt;
* Fixed a bug where the band edge line in the spectrum display was off by the offset value of the dspserver.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=606</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=606"/>
		<updated>2012-10-14T20:16:19Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Building the Perseus extensions */&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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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;
&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;
&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;
&amp;lt;/pre&amp;gt;&lt;br /&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
==== 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&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-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;
== 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;
&lt;br /&gt;
&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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=605</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=605"/>
		<updated>2012-10-14T19:49:36Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Building the Perseus extensions */&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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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;
&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;
&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;
&amp;lt;/pre&amp;gt;&lt;br /&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
==== 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&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-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;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./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;
== 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;
&lt;br /&gt;
&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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=604</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=604"/>
		<updated>2012-10-14T19:48:22Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Building the Perseus extensions */&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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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;
&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;
&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;
&amp;lt;/pre&amp;gt;&lt;br /&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
==== 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&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-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 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;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./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;
== 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;
&lt;br /&gt;
&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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=603</id>
		<title>QtRadio Installation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=QtRadio_Installation&amp;diff=603"/>
		<updated>2012-10-14T19:46:46Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Building the Perseus extensions */&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;
See: &lt;br /&gt;
&lt;br /&gt;
http://napan.ca/ghpsdr3/index.php/Developers_Documentation&lt;br /&gt;
&lt;br /&gt;
You will need qt5 to be installed as per the above.&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;
&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;
&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;
&amp;lt;/pre&amp;gt;&lt;br /&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
==== 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&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-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, enabling the perseus server feature:&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;
xterm -e &#039;dspserver --lo 0 --nocorrectiq&#039; &amp;amp;&lt;br /&gt;
$(export QT_RADIO_NO_LOCAL_AUDIO=1 ; ./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;
== 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;
&lt;br /&gt;
&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;
NOTE:-******Remove all traces of -msse,-msse3 and -ffast-math from Makefile.am and Makefile.in where appropriate in the subdirectories as those are not for ARM architecture. Here is my script - make it executable and put it in your path, e.g /usr/local/bin/.&lt;br /&gt;
Formatting problem, #!/bin/sh is the first line of the script which is run in the ghpsdr3-alex directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 #!/bin/sh&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse3//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-msse//g&#039;&lt;br /&gt;
&lt;br /&gt;
find ./ -type f | xargs sed -i &#039;s/-ffast-math//g&#039;&lt;br /&gt;
&lt;br /&gt;
&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=597</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=597"/>
		<updated>2012-10-06T19:54:18Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* If you are starting from scratch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following commands install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=596</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=596"/>
		<updated>2012-10-06T19:54:00Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* If you are starting from scratch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed (Debian/Ubuntu):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=595</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=595"/>
		<updated>2012-10-06T19:49:44Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* If you are starting from scratch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: in at least one case (thanks to Pierluigi iw4blg), even if the machine was running with an NVidia card and proprietary NVidia device drivers, the test for Qt in configure did fail, as well did the example programs enclosed in qt5 package, complaining that both GL/gl.h and libGL were missing. Installing all the above packages the problem was solved.&lt;br /&gt;
&lt;br /&gt;
==== Installing codec2 low bit rate audio encoding and decoding ====&lt;br /&gt;
&lt;br /&gt;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=594</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=594"/>
		<updated>2012-10-06T07:31:47Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Compiling QtRadio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&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;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2-dev&lt;br /&gt;
cd codec2-dev&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh ./cleanup.sh&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=593</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Main_Page&amp;diff=593"/>
		<updated>2012-10-05T21:54:48Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* The ghpsdr3-alex Project */&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 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)&lt;br /&gt;
&lt;br /&gt;
&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;
*[[ToDo/- Wishlist]]&lt;br /&gt;
*[[dspserver.conf]]&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>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=541</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=541"/>
		<updated>2012-09-02T21:19:47Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* If you are starting from scratch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;If the machine doesn&#039;t have an OpenGL aware accelerated video card, please install also the following packages:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&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;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh cleanup&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=540</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=540"/>
		<updated>2012-09-02T21:13:57Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Compiling QtRadio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the machine doesn&#039;t have an OpenGL aware video card, please install also the following packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&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;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
git checkout master&lt;br /&gt;
&lt;br /&gt;
sh cleanup&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
	<entry>
		<id>https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=539</id>
		<title>Developers Documentation</title>
		<link rel="alternate" type="text/html" href="https://napan.ca/ghpsdr3/index.php?title=Developers_Documentation&amp;diff=539"/>
		<updated>2012-09-02T21:11:26Z</updated>

		<summary type="html">&lt;p&gt;Iw0hdv: /* Installing from the ppa */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;*[https://github.com/alexlee188/ghpsdr3-alex Git Repository ]&lt;br /&gt;
*[https://github.com/alexlee188/ghpsdr3-alex/blob/master/README README]&lt;br /&gt;
*[http://code.google.com/p/sdr-shell/wiki/SDRCore Dttsp]&lt;br /&gt;
*[http://www.youtube.com/watch?v=6KtOzh0StTc A Very good video tutorial series on using QT and C++]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3 A Brief Description on the architecture of ghpsdr3]&lt;br /&gt;
*[http://openhpsdr.org/wiki/images/4/47/Ghpsdr3-protocols2010-08-07.pdf Ghpsdr3 communication protocols 2010-08-07]&lt;br /&gt;
*[http://openhpsdr.org/wiki/index.php?title=Ghpsdr3_protocols More on the Ghpsdr communications protocols (and more up to date)]&lt;br /&gt;
*[[dspserver.conf]] The &#039;&#039;&#039;&#039;&#039;dspserver.conf&#039;&#039;&#039;&#039;&#039; file has it&#039;s own page&lt;br /&gt;
&lt;br /&gt;
Most of the development discussion has been taking place on the [http://groups.google.com/group/sdr-widget sdr-widget google group].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Installing portaudio19-dev with jackd2 =&lt;br /&gt;
&lt;br /&gt;
Portaudio19-dev depends on having a copy of libjack-dev installed and if the libkjack-jackd2-dev package is installed before portaudio19-dev it&#039;s dependency will be satisfied and it will not uninstall jackd2 and install jackd1 if you have already installed jackd2 on your system.&lt;br /&gt;
&lt;br /&gt;
== If jackd1 and portaudio19-dev already installed ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Uninstall portaudio19-dev&lt;br /&gt;
Uninstall jackd1&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== If you are starting from scratch ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;From Synaptic&lt;br /&gt;
&lt;br /&gt;
Install Jackd2&lt;br /&gt;
Install libjack-jackd2-dev&lt;br /&gt;
Install portaudio19-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following command install all the environment needed:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo jackd2 libjack-jackd2-dev portaudio19-dev&lt;br /&gt;
&lt;br /&gt;
sudo apt-get install make gcc g++ autoconf automake autotools-dev libtool git subversion&lt;br /&gt;
sudo apt-get install libusb-0.1-4 libusb-dev libfftw3-dev libpulse-dev libsamplerate0-dev &lt;br /&gt;
sudo apt-get install libusb-1.0-0-dev libconfig8-dev xdg-utils libortp-dev&lt;br /&gt;
sudo apt-get install libevent-dev&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the machine doesn&#039;t have an OpenGL aware video card, please install also the following packages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install mesa-utils&lt;br /&gt;
sudo apt-get install mesa-common-dev&lt;br /&gt;
sudo apt-get install libgl1-mesa-dev&lt;br /&gt;
sudo apt-get install x11proto-xext-dev&lt;br /&gt;
sudo apt-get install libxrender-dev&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;
&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;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd&lt;br /&gt;
svn co https://freetel.svn.sourceforge.net/svnroot/freetel/codec2&lt;br /&gt;
cd codec2&lt;br /&gt;
autoreconf -i&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;
= Installing Qt5 =&lt;br /&gt;
You need to add the unsupported packages to your system. It will exist as a stand alone system separate from any other version of qt or creator etc. that you may have installed.&lt;br /&gt;
&lt;br /&gt;
== Adding the qt5 “Canonical Qt5 Edgers” ppa to your system ==&lt;br /&gt;
&lt;br /&gt;
In a terminal, copy and paste ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-daily&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Your system will now fetch the PPA&#039;s key. This enables your Ubuntu system to verify that the packages in the PPA have not been interfered with since they were built. &lt;br /&gt;
&lt;br /&gt;
Now, as a one-off, you should tell your system to pull down the latest list of software from each archive it knows about, including the PPA you just added: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now you&#039;re ready to start installing software from the PPA!&lt;br /&gt;
&lt;br /&gt;
== Installing from the ppa ==&lt;br /&gt;
&lt;br /&gt;
You will be installing the packages from the daily build of qt5 and the version date etc. could change but it is important to check that you have marked for install the package corresponding to the qt5 build as some of the packages may also be installed for qt 4.8.x A good check is to open the url for the Edgers and compare your selection to their file list at [https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-daily canonical-qt5-edgers]&lt;br /&gt;
&lt;br /&gt;
The packages will be identified with similar to&lt;br /&gt;
   5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
I have shown the example on the first entry in the list only.&lt;br /&gt;
&lt;br /&gt;
Open Synaptic and use the quick find to look for and mark for install each of the packages in the following list ...&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 qt-components-qtquick2     5.0-2012xxx ubuntu5 Zoltan Balogh (2012-04-05)&lt;br /&gt;
 qt3d&lt;br /&gt;
 qtbase&lt;br /&gt;
 qtdeclarative&lt;br /&gt;
 qtdoc&lt;br /&gt;
 qtjsbackend&lt;br /&gt;
 qtmultimedia&lt;br /&gt;
 qtquick1&lt;br /&gt;
 qtscript&lt;br /&gt;
 qtsvg&lt;br /&gt;
 qttools&lt;br /&gt;
 qtwebkit&lt;br /&gt;
 qtxmlpatterns&lt;br /&gt;
&lt;br /&gt;
These packages will install by default in /opt/qt5&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
note: there are a couple of packages which you do not need to install.&lt;br /&gt;
&lt;br /&gt;
If you are using the command line, the needed command are shown below for convenience:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get install qt-components-qtquick2 qt3d qtbase&lt;br /&gt;
sudo apt-get install qtdeclarative qtdoc  qtjsbackend  qtmultimedia  qtquick1&lt;br /&gt;
sudo apt-get install qtscript qtsvg qttools  qtwebkit qtxmlpatterns&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting the path to qt5 ==&lt;br /&gt;
&lt;br /&gt;
From a terminal&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;
== Compiling QtRadio ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cd&lt;br /&gt;
git clone https://github.com/alexlee188/ghpsdr3-alex.git&lt;br /&gt;
cd ghpsdr3-alex&lt;br /&gt;
&lt;br /&gt;
sh cleanup&lt;br /&gt;
autoreconf -i&lt;br /&gt;
./configure CFLAGS=&#039;-fopenmp -O3 -msse3&#039; CXXFLAGS=&#039;-fopenmp -O3 -msse3&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for those of us with older machines use the line below instead:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure CXXFLAGS=&#039;-O3 -msse2 -fopenmp&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Last, build everything:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make&lt;br /&gt;
sudo make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Setting QtCreator to use the qt5 libraries ==&lt;br /&gt;
&lt;br /&gt;
If you want to use Qt Creator (you use the same Qt Creator as with Qt4), you need to configure it to use Qt5 as one of the options:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
From the top line menu of QtCreator ...&lt;br /&gt;
&lt;br /&gt;
Tools &amp;gt; Options &amp;gt; Build &amp;amp; Run&lt;br /&gt;
Click on the Qt Versions panel&lt;br /&gt;
Click on Add button&lt;br /&gt;
Navigate to /opt/qt5/bin&lt;br /&gt;
Click on qmake&lt;br /&gt;
Click on open&lt;br /&gt;
Click on Apply then OK&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
You need to point to the qmake file which is found in /opt/qt5/bin&lt;br /&gt;
&lt;br /&gt;
== Choosing the build library in QtCreator ==&lt;br /&gt;
&lt;br /&gt;
you need to (re)import your QtRadio project and then you will be able to select Qt5 (or the previous Qt4.8 etc.) for building the application.&lt;br /&gt;
&lt;br /&gt;
It may be necessary to edit the project file (QtRadio.pro) to choose which version of Qt Creator you are using which can be the SDK directly from Nokia, or the Ubuntu install of Creator. The line &amp;quot;_UsingSDK&amp;quot; needs to be set to true or false as appropriate.&lt;/div&gt;</summary>
		<author><name>Iw0hdv</name></author>
	</entry>
</feed>