Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 944 Bytes

build-macos.rst

File metadata and controls

42 lines (28 loc) · 944 Bytes

Building on macOS

On macOS, homebrew, and LLVM from homebrew are needed to compile dune3d.

Install dependencies

Homebrew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Follow the instructions, now you should be able to install the remaining dependencies:

brew install \
  adwaita-icon-theme \
  cmake \
  eigen \
  glm \
  gtk4 \
  gtkmm4 \
  librsvg \
  llvm \
  meson \
  opencascade \
  pkg-config \
  pygobject3 \
  python@3

Now you can build the project using the ./scripts/build_macos.sh script.

You should now have the dune3d executable in the build/ folder.

Note

Building on macOS is still experimental. You might find workarounds for building/linking issues in this project's issues. Also be aware that selection in macOS is broken for now.