Installing Codac on macOS for C++ use

Quick start

Install Homebrew package manager and build tools:

/bin/bash -c "$(curl -fsSL"
brew install wget autoconf automake libtool
brew install --cask cmake

Download and extract e.g. (for macOS 12 Monterey on a Mac with Apple silicon (arm64 processor), use for a Mac with an Intel processor (x86_64 processor), see from, then in example folder run:

cmake . ; cmake --build . ; ./my_project

and check that “My first tube:Tube [0, 10]” appears.

Optionally, download and run (see also before running the project, and check that a tube appears in VIBes viewer.

Building from sources

You will probably need to install those prerequisites:

brew install eigen

Optionally, for Python and documentation:

wget ; brew reinstall ./doxygen.rb ; brew pin doxygen
brew install graphviz
python -m pip install --upgrade pip
pip install --upgrade wheel setuptools sphinx breathe sphinx-issues sphinx-tabs sphinx_rtd_theme sphinx-reredirects

The logic to follow will then be similar to Linux. See also Information for developers.