Skip to content

Build Instructions for OS X

Martin Patz edited this page Mar 27, 2021 · 33 revisions

Wiki HomeMVE Users GuideBuild Instructions for OS X

General build instructions

  • Run xcode-select --install to install the macOS Command Line Tools
  • Install homebrew (from http://mxcl.github.com/homebrew/)
  • Make sure brew doctor doesn't show any errors
  • brew install git libpng jpeg libtiff qt@5
  • brew link --force qt@5
  • Clone MVE repository
  • git clone git://github.com/simonfuhrmann/mve.git
  • Build MVE and UMVE
  • cd mve; make
  • cd apps/umve; qmake; make; ./umve

Toubleshooting

  • libgomp not found?
  • Remove the OPENMP=-fopenmp line from Makefile.inc
  • Alternative: Temporary export OPENMP="" in your shell
  • Problems with qmake?
  • Add /usr/local/bin and/or /usr/local/opt/qt/bin to /etc/paths
  • Maybe add /usr/local/opt/qt/lib to your LIBRARY_PATH