Difference between revisions of "Ghpsdr3 build"

From HPSDRwiki
Jump to: navigation, search
 
Line 12: Line 12:
  
 
<blockquote>
 
<blockquote>
The server communicates with the hardware and multiplex the multiple recievers into single receivers streams as a combination of UDP for data and TCP for commands.  This program requires ''libusb-1.0''.
+
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''.
 
To build type ''make'' in the ''ghpsdr3/trunk/src/server'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''server''.
Line 22: Line 22:
  
 
<blockquote>
 
<blockquote>
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''.
+
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''.
 
To build type ''make'' in the ''ghpsdr3/trunk/src/dspserver'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''dspserver''.
Line 33: Line 33:
  
 
<blockquote>
 
<blockquote>
ghpsdr receiver is a receiver GUI using [http://www.gtk.org/ GTK] is has both a full 0-55 mHz bandscope and spectrum and waterfall on the select frequency of interest.   
+
'''ghpsdr receiver''' is a receiver GUI using [http://www.gtk.org/ 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''.
 
To build type ''make'' in the ''ghpsdr3/trunk/src/receiver'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''ghpsdr''.
Line 41: Line 41:
  
 
<blockquote>
 
<blockquote>
monitor is a receiver GUI using [http://www.gtk.org/ GTK] is has only a waterfall on the select frequency of interest.   
+
'''monitor''' is a receiver GUI using [http://www.gtk.org/ 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''.
 
To build type ''make'' in the ''ghpsdr3/trunk/src/monitor'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''monitor''.
Line 51: Line 51:
  
 
<blockquote>
 
<blockquote>
jmointor is a java GUI that talks to dspserver.  It can be found in ''ghpsdr3/branches/java/jmonitor'' to compile you will need [http://netbeans.org/ '''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.  
+
'''jmointor''' is a '''java''' GUI that talks to dspserver.  It can be found in ''ghpsdr3/branches/java/jmonitor'' to compile you will need [http://netbeans.org/ '''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.  
 
</blockquote>
 
</blockquote>
  
Line 59: Line 59:
  
 
<blockquote>
 
<blockquote>
QtRadio is a cross-platform C++ program the uses the [http://qt.nokia.com '''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 [http://qt.nokia.com '''Qt4'''].  In the QtCreator interface open the ''QtRadio'' project file, then use the build button to compile the code.
+
'''QtRadio''' is a cross-platform C++ program the uses the [http://qt.nokia.com '''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 [http://qt.nokia.com '''Qt4'''].  In the QtCreator interface open the ''QtRadio'' project file, then use the build button to compile the code.
 
</blockquote>
 
</blockquote>
  
Line 65: Line 65:
  
 
<blockquote>
 
<blockquote>
qtmonitor is a cross-platform C++ program the uses the [http://qt.nokia.com '''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 [http://qt.nokia.com '''Qt4'''].  In the '''QtCreator''' interface open the ''qtmonitor'' project file, then use the build button to compile the code.
+
'''qtmonitor''' is a cross-platform C++ program the uses the [http://qt.nokia.com '''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 [http://qt.nokia.com '''Qt4'''].  In the '''QtCreator''' interface open the ''qtmonitor'' project file, then use the build button to compile the code.
 
</blockquote>
 
</blockquote>
  

Latest revision as of 14:05, 6 September 2010

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.