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.
Domoticz fail to compile
Moderator: leecollings
-
- 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
Boost version 1.62
Re: Domoticz fail to compile
Please upgrade first to at least 1.67 or higher
BTW, this is in the instructions https://www.domoticz.com/wiki/Raspberry ... _Libraries
Who is online
Users browsing this forum: Bing [Bot] and 0 guests