-
Notifications
You must be signed in to change notification settings - Fork 281
Build instructions for macOS
Hugues Delorme edited this page Mar 13, 2024
·
11 revisions
The following tools are required:
- git
- cmake
- C++ 17 compiler(GCC ≥ 9 or LLVM/Clang ≥ 6)
The following libraries are required:
- Qt ≥ 5.14 Note: Qt5 and Qt6 are both supported
- OpenCascade ≥ 7.3.0
The following libraries are optional:
- Assimp ≥ 5.0
Assimp provides support of more mesh formats in Mayo(eg FBX, Collada, 3MF, ...)
brew install cmake git
brew install qt@5
brew link qt@5 --force
brew install opencascade
brew install assimp # Optional
git clone https://github.com/fougue/mayo.git
mkdir build-mayo && cd build-mayo
cmake ../mayo -DMayo_BuildPluginAssimp=ON
cmake --build . --config Release
./mayo.app/Contents/MacOS/mayo