Building on macOS
On macOS, homebrew, and LLVM from homebrew are needed to compile dune3d.
Install dependencies
/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.
If you get an error like “No GSettings schemas are installed on the system” make sure GSETTINGS_SCHEMA_DIR has been set correctly. For example: GSETTINGS_SCHEMA_DIR=/opt/homebrew/share/glib-2.0/schemas ./build/dune3d.
Note
Building on macOS is still experimental. You might find workarounds for building/linking issues in this project’s issues.