Ghpsdr3 build

From HPSDRwiki
Jump to: navigation, search
ghpsdr3 block diagram

This page is designed to help folks that are not use to compiling there code themselves on Linux. This also explains the differences needed to compile the packages in the ghpsdr3 SVN.

The main code can be found under

 ghpsdr3/trunk/src

There is no master Makefile at this time each program you want to use must be compiled individually. Key programs include:

The server communicates with the hardware and multiplex the multiple receivers into single receivers streams as a combination of UDP for data and TCP for commands. This program requires libusb-1.0.

To build type make in the ghpsdr3/trunk/src/server directory. The binary will go to the ghpsdr3/trunk/bin directory as server.


The dspserver communicates with the server for one receiver into single receiver stream as a combination of UDP for data and TCP for commands. This program requires libDttSP, libfftw3.

To build type make in the ghpsdr3/trunk/src/dspserver directory. The binary will go to the ghpsdr3/trunk/bin directory as dspserver.


If you want to use the GTK environment:

ghpsdr receiver is a receiver GUI using GTK is has both a full 0-55 mHz bandscope and spectrum and waterfall on the select frequency of interest.

To build type make in the ghpsdr3/trunk/src/receiver directory. The binary will go to the ghpsdr3/trunk/bin directory as ghpsdr.

monitor is a receiver GUI using GTK is has only a waterfall on the select frequency of interest.

To build type make in the ghpsdr3/trunk/src/monitor directory. The binary will go to the ghpsdr3/trunk/bin directory as monitor.

If you want to use the Java environment:

jmointor is a java GUI that talks to dspserver. It can be found in ghpsdr3/branches/java/jmonitor to compile you will need netbeans installed. In the netbeans interface open the jmonitor project file and build the program. This will produce a file jmonitor.jar in the dist directory that is the executable code.

If you want to use the Qt4 environment:

QtRadio is a cross-platform C++ program the uses the Qt4 libraries. The code in the directory ghpsdr3/trunk/src/QtRadio to compile this code the easiest way is to install the QtCreator and Qt compiler for your architecture from the website Qt4. In the QtCreator interface open the QtRadio project file, then use the build button to compile the code.

qtmonitor is a cross-platform C++ program the uses the Qt4 libraries. The code in the directory ghpsdr3/branches/qt/qtmonitor to compile this code the easiest way is to install the QtCreator and Qt compiler for your architecture from the website Qt4. In the QtCreator interface open the qtmonitor project file, then use the build button to compile the code.