Dependencies install¶
Antares Simulator depends on some mandatory libraries.
- Sirius Solver (fork from RTE)
- OR-Tools-RTE (patches & builds Google OR-Tools) (Only for the complete Antares Simulator solution with GUI)
- minizip library, with its dependency zlib
- Boost libraries: header libraries and boost-test library
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:
-
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. -
As part of the build
You may enable the
BUILD_ORTOOLSconfiguration 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.