Skip to content

How to build from sources

Sébastien Gallou edited this page Dec 5, 2019 · 19 revisions

Yadoms core

You will find here the full build process to build Yadoms server on these platforms :

For Windows

For Ubuntu

For RaspberryPi

For MacOsX

All other platforms should work, as soon as it has a C++ compiler. Let us know if you success to build on a non-listed platform, to help us extend this list.

Libraries needed and offical versions

On each platform-specific above section, you will see how to build or link with librairies needed by Yadoms. Versions given in these sections are just given for example. Official versions are here :

Library/Tool Required Recommended Version
Boost X 1.70 (avoid 1.71 under Windows, serial ports won't work)
OpenSSL X 1.1.1d
Poco X 1.9.4-all (Complete edition)
Protobuf X 3.7.1
Swig 3.0.8
Python 2.7 2.7.12
Python 3.x 3.8
CMake X 3.16.0
PostgreSQL 9.6

Options

Some parts of Yadoms code require some particular steps to be built. Fortunately, these parts are optional. It means that if a part is not built, associated functionality won't be available, but the rest of Yadoms will build and work. These parts can be for example plugins, rules interpreter... Here is the list of parts requiring particular build steps.

Swig Required by all scripts interpreters

Python script interpreter Used to run automation rules edited with Blockly or directly in Python

Clone this wiki locally