Skip to content

Build instructions for macOS

Hugues Delorme edited this page Mar 13, 2024 · 11 revisions

Dependencies

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, ...)

Install dependencies

brew install cmake git
brew install qt@5
brew link qt@5 --force
brew install opencascade
brew install assimp  # Optional

Build & Run

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