opencv
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/ ..
sudo apt install cmake
make -j4
sudo make install
Ceres Solver
http://ceres-solver.org/installation.html
sudo apt-get install cmake
sudo apt-get install libgoogle-glog-dev