recent compiling BETAs on raspbian/Stretch?

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

Moderator: leecollings

Post Reply
rugspin
Posts: 12
Joined: Tuesday 04 February 2020 23:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

recent compiling BETAs on raspbian/Stretch?

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: recent compiling BETAs on raspbian/Stretch?

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
rugspin
Posts: 12
Joined: Tuesday 04 February 2020 23:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: recent compiling BETAs on raspbian/Stretch?

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

Who is online

Users browsing this forum: No registered users and 1 guest