Domoticz fail to compile

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
Bernhard
Posts: 9
Joined: Friday 21 April 2017 15:52
Target OS: Raspberry Pi
Domoticz version: 3.7379
Location: Stockholm, Sweden
Contact:

Domoticz fail to compile

Post by Bernhard » Thursday 16 August 2018 7:15

I am running the laster version of raspian (strech) on a Rasberry Pi 3. I have downloaded the lastest version of domoticz. When compiling it fails with the following message:

[ 20%] Building CXX object CMakeFiles/domoticz.dir/webserver/server.cpp.o
/home/pi/domoticz/webserver/server.cpp: In member function ‘void http::server::server_base::heart_beat(const boost::system::error_co de&)’:
/home/pi/domoticz/webserver/server.cpp:139:21: error: ‘boost::asio::steady_timer {aka class boost::asio::basic_waitable_timer<std::c hrono::_V2::steady_clock>}’ has no member named ‘expires_after’; did you mean ‘expires_at’?
m_heartbeat_timer.expires_after(std::chrono::seconds(4));
^~~~~~~~~~~~~
CMakeFiles/domoticz.dir/build.make:5078: receptet för målet ”CMakeFiles/domoticz.dir/webserver/server.cpp.o” misslyckades
make[2]: *** [CMakeFiles/domoticz.dir/webserver/server.cpp.o] Fel 1
CMakeFiles/Makefile2:72: receptet för målet ”CMakeFiles/domoticz.dir/all” misslyckades
make[1]: *** [CMakeFiles/domoticz.dir/all] Fel 2
Makefile:149: receptet för målet ”all” misslyckades
make: *** [all] Fel 2
pi@raspberrypi:~/domoticz $

Sorry for the swedish above "receptet för målet" may translate to "recepie for target" and misslyckades with "failed"

Anyone have an idea why this happens?

Regards,
Bernhard.

SweetPants
Posts: 2398
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10267
Location: The Netherlands
Contact:

Re: Domoticz fail to compile

Post by SweetPants » Thursday 16 August 2018 8:12

Which boost version do you have installed?
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Bernhard
Posts: 9
Joined: Friday 21 April 2017 15:52
Target OS: Raspberry Pi
Domoticz version: 3.7379
Location: Stockholm, Sweden
Contact:

Re: Domoticz fail to compile

Post by Bernhard » Thursday 16 August 2018 17:35

Boost version 1.62

SweetPants
Posts: 2398
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10267
Location: The Netherlands
Contact:

Re: Domoticz fail to compile

Post by SweetPants » Thursday 16 August 2018 18:39

Bernhard wrote:
Thursday 16 August 2018 17:35
Boost version 1.62
Please upgrade first to at least 1.67 or higher
BTW, this is in the instructions https://www.domoticz.com/wiki/Raspberry ... _Libraries
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests