Building from source on Unix/OSX? Read this.
Posted: Monday 12 December 2016 3:12
A new Python Plugin framework has been merged into the master branch and it has introduced a new dependency on Python 3 in the build that you may encounter because it is turned on by default. This framework will allow people to add hardware support in Python rather than C++.
If you encounter any major issues when building from source please report them here and you can run the cmake command with -DUSE_PYTHON_PLUGINS=NO which should get you going again.
To build with plugins enabled on linux will require:
If you are building on Windows there should be no impact.
Domoticz late links to Python3 at runtime and will run as normal even if Python3 is not found on the server.
I will be adding details to the Wiki over the coming days but didn't want anyone getting caught out by these changes in the interim.
If you encounter any major issues when building from source please report them here and you can run the cmake command with -DUSE_PYTHON_PLUGINS=NO which should get you going again.
To build with plugins enabled on linux will require:
- cmake at version 3 or greater
- Python 3 development files. Add using sudo apt-get install python3-dev
- Running of the cmake command after pulling the latest version
If you are building on Windows there should be no impact.
Domoticz late links to Python3 at runtime and will run as normal even if Python3 is not found on the server.
I will be adding details to the Wiki over the coming days but didn't want anyone getting caught out by these changes in the interim.