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

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Segfault
Posts: 28
Joined: Friday 04 January 2019 18:22
Target OS: Linux
Domoticz version: GIT
Contact:

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

Post 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
User avatar
gizmocuz
Posts: 2356
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

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

Post 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
Quality outlives Quantity!
Segfault
Posts: 28
Joined: Friday 04 January 2019 18:22
Target OS: Linux
Domoticz version: GIT
Contact:

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

Post by Segfault »

Thank you! It has been long time since I visited this build instructions page, should have started there. :oops:
Post Reply

Who is online

Users browsing this forum: gizmocuz and 0 guests