forgive my ignorance, but I overestimated my (google) skill set
I have got the source on my raspberry pi with:
git clone
https://github.com/domoticz/domoticz.git domoticz
I downloaded the files with above command to /root, where they (ofcourse) end up in folder domoticz.
I have edited the AtagOne.cpp and removed the // as below:
#ifdef _DEBUG
#define DEBUG_AtagOneThermostat
#endif
I used below to get source & compile (webpage says dev-domoticz, I did not use "dev-" in the commands. :
https://www.domoticz.com/wiki/Installin ... spberry_PI
git clone
https://github.com/domoticz/domoticz.git domoticz
Build Domoticz (21m15.899s on a raspberry pi 3 , 35m0.646s on a raspberry pi 2 for initial build)
If you have updated domoticz, the make step will only re-build those files that have been changed - although if a header-file common to a lot of source files has been changed, this will still take a long time
Change to the Domoticz directory, and start building
cd domoticz
cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
make -j 3
root@domoticzpi:~/domoticz# cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Pleas e set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. P lease set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Pleas e set CMAKE_C_COMPILER to a valid compiler path or name.
-- Using builtin Mosquitto library
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Pleas e set CMAKE_C_COMPILER to a valid compiler path or name.
-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the sys tem variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR)
-- Failed to find openssl include files (ssl.h), no TLS support
-- Failed to find the openssl library, no TLS support
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Pleas e set CMAKE_C_COMPILER to a valid compiler path or name.
-- Compiling Revision #5263
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1194 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:412 (find_package)
-- Linking against boost static libraries
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake: 97 (MESSAGE):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_F AILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_A RGS)
CMakeLists.txt:429 (find_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake file s:
Boost_INCLUDE_DIR (ADVANCED)
used as include directory in directory /root/domoticz
used as include directory in directory /root/domoticz
-- Configuring incomplete, errors occurred!
I will try again tomorrow evening, If I find the time
Thanks