First, download firebase c++ SDK
Then, create a new directory and unzip it, like so:
mkdir resources && cd resources && unzip ~/Downloads/firebase_cpp_sdk_4.2.0.zip
Now, cd ..
and run:
mkdir build && cd build
Ensure you have cmake, then run:
cmake ..
now
make
And to test,
./PGS