Building from source on Unix/OSX? Read this.

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Building from source on Unix/OSX? Read this.

Post by Dnpwwo »

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:
  • 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
For OSX have a look at the travis file in the top level folder to see homebrew commands required.

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.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest