These build instructions where modified from cdcseacave
For Ubuntu 15.10 Building see the Ubuntu 15.10 building page
For Ubuntu 16.04 Building see the Ubuntu 16.04 building page
#Prepare and empty machine for building:
sudo apt-get update -qq && sudo apt-get install -qq
sudo apt-get -y install git mercurial cmake libpng-dev libjpeg-dev libtiff-dev libglu1-mesa-dev libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-serialization-dev libopencv-dev libcgal-dev libatlas-base-dev libsuitesparse-dev qt5-default libxxf86vm1 libxxf86vm-dev libxi-dev libxrandr-dev graphviz libcgal-qt5-dev libpcl-dev python-imaging
#VCGLib (Required)
git clone https://github.com/cdcseacave/VCG.git vcglib
#Eigen (Required)
hg clone https://bitbucket.org/eigen/eigen#3.2
mkdir eigen_build && cd eigen_build
cmake . ../eigen
make && sudo make install
cd ..
#Ceres (Required)
git clone https://ceres-solver.googlesource.com/ceres-solver ceres-solver
mkdir ceres_build && cd ceres_build/
cmake . ../ceres-solver/ -DMINIGLOG=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
make -j2 && sudo make install
cd ..
#CMVS / PMVS (Optional)
git clone https://github.com/open-anatomy/CMVS-PMVS.git
mkdir CMVS-PMVS_build && cd CMVS-PMVS_build
cmake ../CMVS-PMVS/program
make && sudo make install
cd ..
#OpenMVS (Recommended)
git clone https://github.com/open-anatomy/openMVS.git
mkdir openMVS_build && cd openMVS_build
cmake . ../openMVS -DCMAKE_BUILD_TYPE=Release -DVCG_DIR="~/vcglib"
make -j2 && sudo make install
cd ..
#OpenMVG + GUI (Required)
git clone --recursive https://github.com/open-anatomy/SfM_gui_for_openMVG.git openMVG
mkdir openMVG_build && cd openMVG_build
cmake -DCMAKE_BUILD_TYPE=RELEASE . ../openMVG/src/ -DCMAKE_INSTALL_PREFIX=$HOME/openMVG_build/openMVG_install -DBUILD_SFM_GUI=ON -DOPENMVG_PMVS_PATH=$HOME/CMVS-PMVS_build -DBUILD_GUI_PREVIEW=ON
make && make install
cd ~/openMVG_build/Linux-x86_64-RELEASE && ./openMVG_SfM_gui
- qt5-default
- libpcl-dev
- -DBUILD_SFM_GUI= [STANDARD: ON]
- -DOPENMVG_PMVS_PATH= [STANDARD: $main_path/CMVS-PMVS_build]
- -DOPENMVS_BIN_PATH= [STANDARD: not-set]
- -DBUILD_GUI_PREVIEW= [STANDARD: ON]
- This program is currently using a fork of CMVS-PMVS to fix the warning behaviour.