macOS#

Requirements#

macOS Big Sur and Xcode 12.5+

Use either MacPorts or Homebrew

MacPorts#

Install Requirements
sudo port install avahi boost180 cmake curl doxygen graphviz libopus miniupnpc npm9 pkgconfig python311 py311-pip

Homebrew#

Install Requirements
brew install boost cmake doxygen graphviz miniupnpc node opus pkg-config python@3.11
If there are issues with an SSL header that is not found:
pushd /usr/local/include
ln -s ../opt/openssl/include/openssl .
popd
pushd /opt/homebrew/include
ln -s ../opt/openssl/include/openssl .
popd

Build#

Attention

Ensure you are in the build directory created during the clone step earlier before continuing.

cmake ..
make -j $(sysctl -n hw.ncpu)

cpack -G DragNDrop  # optionally, create a macOS dmg package
If cmake fails complaining to find Boost, try to set the path explicitly.

cmake -DBOOST_ROOT=[boost path] .., e.g., cmake -DBOOST_ROOT=/opt/local/libexec/boost/1.80 ..