Just today I have started to install, this is my first time, domotic and it is very difficult to me.
I have configured the steps from installation guide "https://www.domoticz.com/wiki/Linux" and the make commands fail :
Code: Select all
domoticz@domoticz:~/domoticz$
domoticz@domoticz:~/domoticz$ make
[ 1%] Built target domoticz_gch
[ 14%] Built target lua
[ 15%] Built target sqlite
-- Found Git: /usr/bin/git (found version "1.9.1")
[ 15%] Built target revisiontag
[ 23%] Built target mqtt
[ 24%] Building CXX object CMakeFiles/domoticz.dir/main/EventSystem.cpp.o
/home/domoticz/domoticz/main/EventSystem.cpp: In member function ‘void http::server::CWebServer::RType_Events(http::server::WebEmSession&, const http::server::request&, Json::Value&)’:
/home/domoticz/domoticz/main/EventSystem.cpp:4089:31: error: conversion from ‘long long unsigned int’ to ‘Json::Value’ is ambiguous
root["result"][ii]["id"] = itt->ID;
^
/home/domoticz/domoticz/main/EventSystem.cpp:4089:31: note: candidates are:
In file included from /home/domoticz/domoticz/main/../hardware/../json/json.h:10:0,
from /home/domoticz/domoticz/main/../hardware/Kodi.h:8,
from /home/domoticz/domoticz/main/EventSystem.cpp:9:
/home/domoticz/domoticz/main/../hardware/../json/value.h:312:3: note: Json::Value::Value(bool)
Value(bool value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:290:3: note: Json::Value::Value(const char*) <near match>
Value(const char* value); ///< Copy til first 0. (NULL causes to seg-fault.)
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:290:3: note: no known conversion for argument 1 from ‘long long unsigned int’ to ‘const char*’
/home/domoticz/domoticz/main/../hardware/../json/value.h:289:3: note: Json::Value::Value(double)
Value(double value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:287:3: note: Json::Value::Value(Json::Value::UInt64)
Value(UInt64 value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:286:3: note: Json::Value::Value(Json::Value::Int64)
Value(Int64 value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:284:3: note: Json::Value::Value(Json::Value::UInt)
Value(UInt value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:283:3: note: Json::Value::Value(Json::Value::Int)
Value(Int value);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:282:3: note: Json::Value::Value(Json::ValueType) <near match>
Value(ValueType type = nullValue);
^
/home/domoticz/domoticz/main/../hardware/../json/value.h:282:3: note: no known conversion for argument 1 from ‘long long unsigned int’ to ‘Json::ValueType’
/home/domoticz/domoticz/main/../hardware/../json/value.h:323:10: error: initializing argument 1 of ‘Json::Value& Json::Value::operator=(Json::Value)’
Value& operator=(Value other);
^
make[2]: *** [CMakeFiles/domoticz.dir/main/EventSystem.cpp.o] Error 1
make[1]: *** [CMakeFiles/domoticz.dir/all] Error 2
make: *** [all] Error 2
domoticz@domoticz:~/domoticz$