Page 1 of 1

Issue when building domoticz Beta V4.11696

Posted: Wednesday 19 February 2020 8:33
by meal
Hello,

I have started to generate domoticz version Beta V4.11696 and am facing the following issues when compiling the source:

1 - 1 warning :

/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp: In member function ‘bool CEvohomeRadio::DecodeDeviceInfo(CEvohomeMsg&)’:
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1723:57: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultDateTime = static_cast<long>(msg.payload[10]) << 32 | static_cast<long>(msg.payload[11]) << 24 | msg.payload[12] << 16 | msg.payload[13] << 8 | msg.payload[14];
^~
/home/pi/DEV/domoticz/hardware/EvohomeRadio.cpp:1726:46: warning: left shift count >= width of type [-Wshift-count-overflow]
nFaultMonth = (nFaultDateTime & 0b1111UL << 36) >> 36;
^~


2 - 1 error which stops the process:

/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp: In member function ‘void Plugins::CPluginSystem::Do_Work()’:
/home/pi/DEV/domoticz/hardware/plugins/PluginManager.cpp:324:7: error: ‘class boost::asio::io_service’ has no member named ‘restart’; did you mean ‘reset’?
ios.restart();
^~~~~~~
make[2]: *** [CMakeFiles/domoticz.dir/hardware/plugins/PluginManager.cpp.o] Erreur 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Erreur 2
make: *** [all] Erreur 2

Has anyone already faced the problem ?

Could anyone please help me tackle the 2 issues so that I generate domoticz ?

Many thanks in advance for your awaited answers.

meal

Re: Issue when building domoticz Beta V4.11696

Posted: Wednesday 19 February 2020 8:48
by waaren
meal wrote: Wednesday 19 February 2020 8:33 I have started to generate domoticz version Beta V4.11696 and am facing the following issues when compiling the source:
Please tell us the complete story. Did you follow the steps as described here ?
What is your Hardware, OS, GCC, cmake, boost version, open Zwave (when applicable) and did you download the latest beta from github ?
Did you make any local modification to source files ?

Re: Issue when building domoticz Beta V4.11696

Posted: Wednesday 19 February 2020 14:52
by meal
Hi
I have libboost-chrono1.62 version installed.
I will update to 1.72 to see if it fixe the issue
Best regards

Re: Issue when building domoticz Beta V4.11696

Posted: Thursday 20 February 2020 6:53
by meal
Hi,

As follow up of your recommandation I have installed :
- libboost_1_72_0
- cmake-3.16.4
- recreated the makelist

The generation of domoticz beta V4.11696 is now complete without errors.

Many thanks for your prompt support.

Best regards
:D