Skip to content

Instantly share code, notes, and snippets.

@Meekohi
Last active October 3, 2015 02:42
Show Gist options
  • Save Meekohi/c802d381076d02e76ba8 to your computer and use it in GitHub Desktop.
Save Meekohi/c802d381076d02e76ba8 to your computer and use it in GitHub Desktop.
Building openMVG and openMVS on OSX
# openMVG
cd; cd openmvg_build
rm -rf *
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX:STRING="/Users/meekohi/openMVG_build/openMVG_install" . ../openMVG/src/
make -j 8
make install
#openMVS
cd; cd openmvs_build
rm -rf *
VCG_ROOT=/Users/meekohi/vcglib/ EIGEN_ROOT=/usr/local/Cellar/eigen/3.2.4/include/eigen3/ OpenCV_DIR=/usr/local/opt/opencv3 cmake -DCMAKE_BUILD_TYPE=RELEASE -DOpenMVG_DIR=/Users/meekohi/openmvg_build/openMVG_install/share/openMVG/cmake/ . ../openMVS/
make -j 8
@cdcseacave
Copy link

please add also how and which dependencies you installed (external libs), cause I understood you didn't use MacPorts (https://www.macports.org/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment