Page 1 of 1

Compile error with latest Beta

Posted: Sunday 20 November 2022 9:47
by madpatrick
Hi,


I'm trying to compile the latest beta onmy system but i/m running on error which i can not define.
The last Stable 2022.1 was building without any problem.

This is the error i'm getting

Code: Select all

[ 15%] Building CXX object CMakeFiles/domoticz.dir/main/CmdLine.cpp.o
[ 15%] Building CXX object CMakeFiles/domoticz.dir/main/Camera.cpp.o
[ 15%] Building CXX object CMakeFiles/domoticz.dir/main/domoticz.cpp.o
In file included from /builddir/build/BUILD/domoticz-14742/main/appversion.h:2,
                 from /builddir/build/BUILD/domoticz-14742/main/domoticz.cpp:32:
/builddir/build/BUILD/domoticz-14742/main/domoticz.cpp: In function 'void GetAppVersion()':
/builddir/build/BUILD/domoticz-14742/main/../appversion.h:1:20: error: 'xxxx' was not declared in this scope
    1 | #define APPVERSION xxxx
      |                    ^~~~
/builddir/build/BUILD/domoticz-14742/main/../appversion.h:1:20: note: in definition of macro 'APPVERSION'
    1 | #define APPVERSION xxxx
      |                    ^~~~
make[2]: *** [CMakeFiles/domoticz.dir/build.make:159: CMakeFiles/domoticz.dir/main/domoticz.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:238: CMakeFiles/domoticz.dir/all] Error 2
make: *** [Makefile:172: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.b4NdAx (%build)
What can this be ?

Re: Compile error with latest Beta

Posted: Friday 09 December 2022 19:14
by waltervl