Installation QrssPiG by PA2OHH August 2024
==========================================

To build QrssPiG you need cmake and a c++ compiler (g++ or clang++) with support for c++11
(No action, is already installed on the Raspberry Pi)
If there is an existing directory "qrsspig" then remove it first!


1. To build the core of QrssPiG you need the following mandatory dev libs:
   libboost-filesystem-dev
   libyaml-cpp-dev
   libfftw3-dev
   libgd-dev
   libliquid-dev: Downsampling of input signal samplerate before processing
Type:
$ sudo apt install libboost-filesystem-dev libyaml-cpp-dev libfftw3-dev libgd-dev libliquid-dev


2. Additional functionalities are available through following libs:
- Input plugins:
   libasound2-dev: Alsa audio card
   libhackrf-dev: HackRF device
   libpulse-dev: PulseAudio input
   librtlsdr-dev: RtlSdr device
Type:
$ sudo apt install libasound2-dev libhackrf-dev libpulse-dev librtlsdr-dev

- Upload plugins:
   libcurl4-openssl-dev: FTP upload of grabs to a server
   libssh-dev: SCP upload of grabs to a server
Type:
$ sudo apt install libcurl4-openssl-dev libssh-dev


3. Clone QrssPiG from gitlab and make:
Type:
$ git clone https://gitlab.com/hb9fxx/qrsspig.git
$ cd qrsspig
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install


4. Reboot!


Now purge the old librtlsdr driver and install the new driver, see driver installation notes in: 
RTLSDR-V4linuxDriver-Installation.txt
