Dependencies:
(1) Install the latest cmake:
$ sudo apt-get install cmake
$ sudo apt-get update
$ sudo apt-get install git
$ sudo apt install gcc-7
(4) Install QT V5.4 (Optional)
Getting the resources and the submodules:
(1) $ git clone --recursive https://github.com/openMVG/openMVG.git
(2) Install the required external libraries:
$ sudo apt-get install libpng-dev libjpeg-dev libtiff-dev libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev
(3) If you want to view graph svg logs, install graphviz;
$ sudo apt-get install graphviz
(4) Build OpenMVG
$ git clone --recursive https://github.com/openMVG/openMVG.git
$ cd openMVG
$ cd ..
$ mkdir openMVG_Build
$ cd openMVG_Build
(5) If you want unit tests and examples:
$ cmake -DCMAKE_BUILD_TYPE=RELEASE -DOpenMVG_BUILD_TESTS=ON -DOpenMVG_BUILD_EXAMPLES=ON . ../openMVG/src/
Otherwise simply:
$ cmake -DCMAKE_BUILD_TYPE=RELEASE . ../openMVG/src/
(6) Compile the project
$ make