Page 1 of 1

fatal error: ../appversion.h: No such file or directory

Posted: Tuesday 18 October 2022 12:08
by Segfault
For several months now the build is failing with:

Code: Select all

CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DENABLE_PYTHON -DHAVE_EXECINFO_H -DHAVE_LINUX_SPI -DWITH_OPENZWAVE -DWITH_TLS -DWWW_ENABLE_SSL -D_FILE_OFFSET_BITS=64 -I/mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/lua5.3 -I/usr/include/python3.11 -I/mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/main -I/usr/include/jsoncpp -I/usr/include/minizip -I/usr/include/openzwave  -O2 -march=native -pipe -Wno-psabi -rdynamic -O3 -DNDEBUG -std=c++14 -Winvalid-pch -include /mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/CMakeFiles/domoticztester.dir/cmake_pch.hxx -MD -MT CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o -MF CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o.d -o CMakeFiles/domoticztester.dir/main/domoticz_tester.cpp.o -c /mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/main/domoticz_tester.cpp
In file included from /mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/main/domoticz_tester.cpp:8:
/mnt/sda3/portage_temp/portage/app-misc/domoticz-9999/work/domoticz-9999/main/appversion.h:2:10: fatal error: ../appversion.h: No such file or directory
    2 | #include "../appversion.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
Do I miss some dependency? The full build log can be seen here: http://dpaste.com/CGRHZDJS6

Re: fatal error: ../appversion.h: No such file or directory

Posted: Wednesday 19 October 2022 8:05
by gizmocuz
You need internet access on the building machine, and you need to follow this guide:

https://www.domoticz.com/wiki/Build_Dom ... rom_source

Re: fatal error: ../appversion.h: No such file or directory

Posted: Wednesday 19 October 2022 15:18
by Segfault
Thank you! It has been long time since I visited this build instructions page, should have started there. :oops: