-
Notifications
You must be signed in to change notification settings - Fork 298
Build instructions for macOS
Hugues Delorme edited this page Sep 14, 2022
·
11 revisions
Mayo requires Qt5 and OpenCascade ≥ 7.3.0
Supported compilers are GCC ≥ 9 and LLVM/Clang ≥ 5
Check your macOS system provides official packages at least for OpenCascade v7.3.0
Install OpenCascade libraries :
brew install opencascade
Install Qt5 libraries :
brew install qt@5
brew link qt@5 --force
Get Mayo source code :
git clone https://github.com/fougue/mayo.git
Build Mayo out-of-source :
mkdir mayo-build
cd mayo-build
CASCADE_BASE_DIR=`brew info opencascade | grep -E -i --only-matching --max-count=1 "^(/[a-z\.\-_0-9]+)+"`
qmake ../mayo CASCADE_INC_DIR=$CASCADE_BASE_DIR/include/opencascade CASCADE_LIB_DIR=$CASCADE_BASE_DIR/lib
make -j2
Run Mayo :
./mayo.app/Contents/MacOS/mayo