2022.2 Domoticz sources not compiling
Posted: Thursday 01 December 2022 11:28
Hello,
Context of the issue :
- Domoticz running on RPI3B+
- Python 3.7.3
- Current version used 2022.1 version 14338
I want to build domoticz 2022.2 version from latest beta sources and followed the procedure described in "https://www.domoticz.com/wiki/Build_Dom ... rom_source".
At domoticz compilation time of the file "domoticz_tester.cpp" I have the following error
In file included from /home/pi/DEV20200309/dev-domoticz/main/domoticz_tester.cpp:8:
/home/pi/DEV20200309/dev-domoticz/main/appversion.h:2:10: fatal error: ../appversion.h: Aucun fichier ou dossier de ce type
#include "../appversion.h"
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/domoticztester.dir/build.make:143: CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:446: CMakeFiles/domoticztester.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
It seems that the file "dev-domoticz/appversion.h" is missing.
The file is not in the clone distribution "git clone https://github.com/domoticz/domoticz.git dev-domoticz"
For information I managed to build the 2022.1 Domoticz version from sources in June 2022 and in that version the content of the "dev-domoticz/appversion.h" was:
#define APPVERSION 14338
#define APPHASH "8d73c42d6-modified"
#define APPDATE 1652636840
At that time "domoticz_tester.cpp" was not part of the 2022.1 Domoticz sources distribution.
Did I miss something ?
I thank you in advance for your help.
BR
Context of the issue :
- Domoticz running on RPI3B+
- Python 3.7.3
- Current version used 2022.1 version 14338
I want to build domoticz 2022.2 version from latest beta sources and followed the procedure described in "https://www.domoticz.com/wiki/Build_Dom ... rom_source".
At domoticz compilation time of the file "domoticz_tester.cpp" I have the following error
In file included from /home/pi/DEV20200309/dev-domoticz/main/domoticz_tester.cpp:8:
/home/pi/DEV20200309/dev-domoticz/main/appversion.h:2:10: fatal error: ../appversion.h: Aucun fichier ou dossier de ce type
#include "../appversion.h"
^~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/domoticztester.dir/build.make:143: CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:446: CMakeFiles/domoticztester.dir/all] Error 2
make: *** [Makefile:171: all] Error 2
It seems that the file "dev-domoticz/appversion.h" is missing.
The file is not in the clone distribution "git clone https://github.com/domoticz/domoticz.git dev-domoticz"
For information I managed to build the 2022.1 Domoticz version from sources in June 2022 and in that version the content of the "dev-domoticz/appversion.h" was:
#define APPVERSION 14338
#define APPHASH "8d73c42d6-modified"
#define APPDATE 1652636840
At that time "domoticz_tester.cpp" was not part of the 2022.1 Domoticz sources distribution.
Did I miss something ?
I thank you in advance for your help.
BR