Installing Codac on macOS for C++ use¶
Quick start¶
Install Homebrew package manager and build tools:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install wget autoconf automake libtool
brew install --cask cmake
Download and extract e.g. codac_standalone_x86_64_bigsur.zip
(for macOS 11 Big Sur (x86_64)) from https://github.com/codac-team/codac/releases/latest/, then in example
folder run:
cmake . ; cmake --build . ; ./my_project
and check that “My first tube:Tube [0, 10]” appears.
Optionally, download and run https://github.com/ENSTABretagneRobotics/VIBES/releases/download/0.2.3/VIBes-0.2.2-osx.dmg (see also https://support.apple.com/HT211861) before running the project, and check that a tube appears in VIBes window.
Building from sources¶
You will probably need to install those prerequisites (assuming you installed Homebrew package manager):
brew install eigen
The logic to follow will then be similar to Linux. See also Information for developers.