a. Install packages from ubuntu source.
sudo apt install libboost-dev libyaml-cpp-dev libomp-dev
b. Follow the official guidance to install GTSAM-4.2, PCL, GLOG.
c. Install iGraph 0.9.9 (To support 3DMAC)
sudo apt-get install flex bison
git clone https://github.com/igraph/igraph.git
cd igraph
git checkout 0.9.9
mkdir build && cd build
cmake ..
make -j4
sudo make install
d. Build
cd G3Reg
mkdir build && cd build
cmake ..
make -j4