Page 1 of 1

recent compiling BETAs on raspbian/Stretch?

Posted: Wednesday 10 February 2021 18:27
by rugspin
Hi all,

I'm just asking if someone is still running/compiling on raspbian/stretch? Up to now I could still compile the latest Betas (up to 2020.2.12901). But today I tried to compile 2020.2.12934 and it threw some errors from the mainworker.cpp and didn't finish.
The error messages are quite lengthy but I think they are related to some lambdas

Code: Select all

[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/mainworker.cpp.o
/home/rugspin/eigeneDateien/temp/compile/dev-domoticz/main/mainworker.cpp: In instantiation of ‘MainWorker::AddDomoticzHardware(CDomoticzHardwareBase*)::<lambda(auto:1, auto:2, auto:3, auto:4, auto:5)> [with auto:1 = CDomoticzHardwareBase*; auto:2 = const unsigned char*; auto:3 = const char*; auto:4 = int; auto:5 = const char*]’:
/usr/local/include/boost/function/function_template.hpp:158:11:   required from ‘static void boost::detail::function::void_function_obj_invoker5<FunctionObj, R, T0, T1, T2, T3, T4>::invoke(boost::detail::function::function_buffer&, T0, T1, T2, T3, T4) [with FunctionObj = MainWorker::AddDomoticzHardware(CDomoticzHardwareBase*)::<lambda(auto:1, auto:2, auto:3, auto:4, auto:5)>; R = void; T0 = CDomoticzHardwareBase*; T1 = const unsigned char*; T2 = const char*; T3 = int; T4 = const char*]’
So maybe someone on Stretch experienced the same and could help me or I have to check on my system.
Thanks in advance.

Re: recent compiling BETAs on raspbian/Stretch?

Posted: Wednesday 10 February 2021 21:48
by waaren
rugspin wrote: Wednesday 10 February 2021 18:27 I'm just asking if someone is still running/compiling on raspbian/stretch? Up to now I could still compile the latest Betas (up to 2020.2.12901). But today I tried to compile 2020.2.12934 and it threw some errors from the mainworker.cpp and didn't finish.
I experienced the same on RPI-4 with buster. Don't know if below solution works on earlier OS versions.

For me removing boost 1.72, update to boost 1.75 and recreating the dev-domoticz directory with a fresh github clone solved it.

check this github issue reply

any specific reason why you don't update your OS ?

Re: recent compiling BETAs on raspbian/Stretch?

Posted: Thursday 11 February 2021 9:54
by rugspin
Thanks for the tip.
I updated the libboost from 1.72 to 1.75 (simply installing on top didn't work, one has to remove all 1.72 files).
But, I still cannot compile the mainworker.cpp.
I guess I should think of changing to raspbian/buster.