Skip to content

Dependencies install

Antares Simulator depends on some mandatory libraries.

We favor using vcpkg for building and installing most of those dependencies, see build instructions which explain how it integrates with CMake build. However, we still have a few exceptions that must be installed in a different way, see next sections.

Although not encouraged, it's still possible to install those dependencies yourself and add their installation path to your CMAKE_PREFIX_PATH.

OR-Tools

OR-Tools may be installed in one of 2 ways:

  1. As a pre-compiled dependency

    You can download a precompiled OR-Tools archive that contains headers & static libraries.

    Please note that dynamic linking with OR-Tools is only supported in Linux.

    Decompress the archive, and provide its path as a CMAKE_PREFIX_PATH.

  2. As part of the build

    You may enable the BUILD_ORTOOLS configuration option to build it from source during Antares build, as documented in build instructions.

    The drawback of this second approach is that OR-Tools may need to be built again when you run again a cmake configure step, therefore it's not advised for developers.

Linux: libuuid and wxWidgets

On Linux systems, libuuid development packages need to be installed with your OS package manager. You will also need to install wxWidgets if you want to build the GUI.

sudo yum install libuuid-devel
sudo yum install wxGTK3-devel
sudo apt install uuid-dev
sudo apt install libwxgtk3.0-gtk3-dev
sudo apt install uuid-dev
sudo apt install libwxgtk3.2-dev