Difference between revisions of "Ghpsdr3 build"

From HPSDRwiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Image:Ghpsdr3.png|thumb|400px| 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.
 
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.
  
Line 10: Line 12:
  
 
<blockquote>
 
<blockquote>
The server communicate 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''.
 
</blockquote>
 
</blockquote>
 +
 +
  
 
*'''[[ghpsdr3 dspserver|dspserver]]'''
 
*'''[[ghpsdr3 dspserver|dspserver]]'''
 +
 +
<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''.
 +
 +
To build type ''make'' in the ''ghpsdr3/trunk/src/dspserver'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''dspserver''.
 +
</blockquote>
 +
  
 
If you want to use the [http://www.gtk.org GTK] environment:
 
If you want to use the [http://www.gtk.org GTK] environment:
  
 
*'''[[ghpsdr3 receiver|ghpsdr]]'''
 
*'''[[ghpsdr3 receiver|ghpsdr]]'''
 +
 +
<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. 
 +
 +
To build type ''make'' in the ''ghpsdr3/trunk/src/receiver'' directory. The binary will go to the ''ghpsdr3/trunk/bin'' directory as ''ghpsdr''.
 +
</blockquote>
  
 
*'''[[ghpsdr3 monitor|monitor]]'''
 
*'''[[ghpsdr3 monitor|monitor]]'''
 +
 +
<blockquote>
 +
'''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''.
 +
</blockquote>
  
 
If you want to use the [http://www.java.com/en/ Java] environment:
 
If you want to use the [http://www.java.com/en/ Java] environment:
  
 
*'''[[ghpsdr3 jmonitor|jmonitor]]'''
 
*'''[[ghpsdr3 jmonitor|jmonitor]]'''
 +
 +
<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.
 +
</blockquote>
  
 
If you want to use the [http://qt.nokia.com/ Qt4] environment:
 
If you want to use the [http://qt.nokia.com/ Qt4] environment:
  
 
*'''[[ghpsdr3 QtRadio|QtRadio]]'''
 
*'''[[ghpsdr3 QtRadio|QtRadio]]'''
 +
 +
<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.
 +
</blockquote>
  
 
*'''[[ghpsdr3 qtmonitor|qtmonitor]]'''
 
*'''[[ghpsdr3 qtmonitor|qtmonitor]]'''
 +
 +
<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.
 +
</blockquote>
 +
 +
 +
 +
[[Category:ghpsdr3 build| ]]

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.