Segfault wrote: ↑Wednesday 02 December 2020 23:54
Just updated sources and configure fails. Am I missing some dependency?
Just tested on Intel NUC (Debian, Cmake 3.17.2) and Raspberry 4 (Raspbian, Cmake 3.18,3 ) without any issues.
Did you follow this wiki to the letter?
What OS, what cmake?
Segfault wrote: ↑Thursday 03 December 2020 9:57
Thanks for reply. Gentoo, cmake-3.19.1, building with openzwave. Just now did a git pull and still the same configure error.
jsoncpp was moved back from extern to domoticz a couple of builds ago due to problems with the external version. It could be that something in the git config need to be changed for your git, OS or CMake version to make it work.
On my system I still see
In file included from /mnt/extra/Source/dev-domoticz/main/../hardware/MQTT.h:4,
from /mnt/extra/Source/dev-domoticz/main/../hardware/MySensorsMQTT.h:3,
from /mnt/extra/Source/dev-domoticz/main/mainworker.cpp:76:
/mnt/extra/Source/dev-domoticz/main/../hardware/../main/mosquitto_helper.h:10:10: fatal error: mosquitto.h: No such file or directory
#include <mosquitto.h>
In file included from /mnt/extra/Source/dev-domoticz/main/../hardware/MQTT.h:4,
from /mnt/extra/Source/dev-domoticz/main/../hardware/MySensorsMQTT.h:3,
from /mnt/extra/Source/dev-domoticz/main/mainworker.cpp:76:
/mnt/extra/Source/dev-domoticz/main/../hardware/../main/mosquitto_helper.h:10:10: fatal error: mosquitto.h: No such file or directory
#include <mosquitto.h>
See the same on Raspberry (buster) and on Intel NUC (bullseye) with different cmake andf gcc versions
Opened an issue for it