CAPD::DynSys Library  6.0.0
CAPD requirements

Linux

The CAPD::DynSys uses very standard tools and libraries, only.

  • gcc, g++ or clang++ (must support at least C++17 standard).
  • make, cmake (version 3.13.0 or newer)
  • pkg-config
  • git or unzip (depending if you prefer to clone CAPD git repository or unzip an arvchive with stable CAPD release)
  • To enable multiple precision support in the CAPD, the libraries gmp and mpfr are required.
  • We recommend to install Boost library (header files and binaries).

On Ubuntu and Debian systems one can install all above libraries but the compiler by

sudo apt-get install libgmp-dev libmpfr-dev libboost-all-dev git cmake autoconf libtool

The CAPD package was tested on Linux distributions: Debian, Ubuntu.

Windows

The current version of CAPD uses automated compilation tools therefore it needs linux like shell console and selection of other tools. We recommend to use Windows Subsystem for Linux

https://learn.microsoft.com/en-us/windows/wsl

and within Linux console for Windows install all tools required for the Linux system.

OSX

1) Install C++ compiler from Command Line Tools (it is also shipped with XCode) by doing one of the following:

  • Install Xcode from App Store (it is quite heavy).
  • It is enough to download and install Command Line Tools from Apple Developers (search for "command line tools").

2) If you have an M1, M2, M3, ... chip, to use the filib interval library one needs Rosetta (Intel processor emulator).
If you have an Intel mac, ignore this step.

  • in Finder find Terminal (which should be in Applications/Utilities/), right mouse click on it, and choose “Get Info”. Choose the “open using Rosetta” tickbox. Install Rosetta when prompted if you do not have one.
  • Quit Terminal.

    You can choose to have two versions of Terminal. One running with Rosetta and the other to run without it. To do so simply duplicate the Terminal application, and choose one of the terminal application to be under Rosetta and the other without it. Use the Rosetta terminal for the below installation steps.

3) Install Homebrew (if you already do not have one)

  • In Terminal paste and execute:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
    (see https://brew.sh for details.)

4) Install GNU tools and libraries, that CAPD depends on.

  • In Terminal execute the following commands:
    brew install pkg-config make autoconf cmake boost git
  • To use multiple precision in CAPD execute
    brew install gmp mpfr
  • To generate documentation one needs
    brew install doxygen

5) Optional/Experimental OSX is using clang compiler (gcc and g++ are just symbolic links). We have not tested it for compatibility with our code. You can compile the code, but we are not sure about compatibility with roundings etc. You can experiment with original version of gcc/g++ which you can install using following commands:

brew install gcc