-
Notifications
You must be signed in to change notification settings - Fork 424
Build Instructions for OS X
andre-schulz edited this page May 10, 2024
·
33 revisions
Wiki Home ▸ MVE Users Guide ▸ Build Instructions for OS X
- Run
xcode-select --installto install the macOS Command Line Tools - Install homebrew (from http://mxcl.github.com/homebrew/)
- Make sure
brew doctordoesn't show any errors brew install git libpng jpeg libtiff qt@5brew link --force qt@5- Clone MVE repository
git clone git://github.com/simonfuhrmann/mve.git- Build MVE and UMVE
cd mve; makecd apps/umve; qmake; make; ./umve
-
libgompnot found? - Remove the
OPENMP=-fopenmpline fromMakefile.inc - Alternative: Temporary
export OPENMP=""in your shell - Problems with
qmake? - Add
/usr/local/binand/or/usr/local/opt/qt/binto/etc/paths - Maybe add
/usr/local/opt/qt/libto yourLIBRARY_PATH
- In homebrew of new version, packages are installed in
/opt/homebrew/...instead of/usr/local/..., which is the default path. - Execute
export CPATH=/opt/homebrew/includeandexport LIBRARY_PATH=/opt/homebrew/libto set environmental variable. -
-march=nativenot found? EditMakefile.incand change it. Starting with clang 13,-mcpu=apple-m1is available. Starting with clang 15,-march=nativeis available for M1.