Domoticz fail to compile

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

Moderator: leecollings

Post Reply
Bernhard
Posts: 8
Joined: Friday 21 April 2017 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7379
Location: Stockholm, Sweden
Contact:

Domoticz fail to compile

Post by Bernhard »

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

Re: Domoticz fail to compile

Post by SweetPants »

Which boost version do you have installed?
Bernhard
Posts: 8
Joined: Friday 21 April 2017 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7379
Location: Stockholm, Sweden
Contact:

Re: Domoticz fail to compile

Post by Bernhard »

Boost version 1.62
SweetPants

Re: Domoticz fail to compile

Post by SweetPants »

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
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests