Closed AchimPieters closed 5 years ago
Here's the whole error description: CC /home/achim/life-cycle-manager/main.c In file included from /home/achim/life-cycle-manager/main.c:17:0: ./ota.h:6:3: error: #error You must set OTAVERSION=x.y.z of the ota code to match github version tag x.y.z
^ In file included from /home/achim/life-cycle-manager/main.c:18:0: /home/achim/life-cycle-manager/main.c: In function 'ota_task': /home/achim/life-cycle-manager/main.c:37:28: error: 'OTAVERSION' undeclared (first use in this function) UDPLGP("VERSION: %s\n",OTAVERSION); //including the compile time makes comparing binaries impossible, so don't ^ ./udplogger.h:9:50: note: in definition of macro 'UDPLGP'
^
/home/achim/life-cycle-manager/main.c:37:28: note: each undeclared identifier is reported only once for each function it appears in UDPLGP("VERSION: %s\n",OTAVERSION); //including the compile time makes comparing binaries impossible, so don't ^ ./udplogger.h:9:50: note: in definition of macro 'UDPLGP'
^
make: *** [/home/achim/esp/esp-open-rtos/common.mk:219: build/program//main.o] Error 1
never mind found it.
Hi there!
Great job on your LCM project. But I have a question. How to compile your code myself? When I compile I says
#error You must set OTAVERSION=x.y.z of the ota code to match github version tag x.y.z
is missing on line 17 form main.c witch refers to OTA.h line 6?Could you help me compile your code myself? I would be great full. Thanks in advance.