Hi XODers,
trying to deploy the example get ips from XOD-dev/esp8266 in version 0.32.1,
I received the following error message:
What can be done about it?
Begin compiling code for the board NodeMCU 1.0 (ESP-12E Module) 📦
Using board 'nodemcuv2' from platform in folder: C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3
Using core 'esp8266' from platform in folder: C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3
Detecting libraries used...
"C:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/lwip2/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\cores\\esp8266" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\variants\\nodemcu" "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\sketch\\xod_1575761210762_sketch.ino.cpp" -o nul
Alternatives for ESP8266UART.h: [ESP8266UART]
ResolveLibrary(ESP8266UART.h)
-> candidates: [ESP8266UART]
"C:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/lwip2/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\cores\\esp8266" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\variants\\nodemcu" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\xod_temp_sketchbooknRj9J1\\libraries\\ESP8266UART" "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\sketch\\xod_1575761210762_sketch.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/lwip2/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\cores\\esp8266" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\variants\\nodemcu" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\xod_temp_sketchbooknRj9J1\\libraries\\ESP8266UART" "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\sketch\\xod_1575761210762_sketch.ino.cpp" -o "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\PC\\xod\\__packages__\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/lwip2/include" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DDEBUG_ESP_PORT=Serial -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\cores\\esp8266" "-IC:\\Users\\PC\\xod\\__packages__\\packages\\esp8266\\hardware\\esp8266\\2.4.3\\variants\\nodemcu" "-IC:\\Users\\PC\\AppData\\Local\\Temp\\xod_temp_sketchbooknRj9J1\\libraries\\ESP8266UART" "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\sketch\\xod_1575761210762_sketch.ino.cpp" -o "C:\\Users\\PC\\AppData\\Local\\Temp\\arduino-sketch-129D758500A1CA313BA76BBC48976453\\sketch\\xod_1575761210762_sketch.ino.cpp.o"
In file included from C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266/esp8266_peri.h:24:0,
from C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266/Arduino.h:38,
from C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\xod_1575761210762_sketch\xod_1575761210762_sketch.ino:18:
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include/c_types.h:89:66: error: 'const char OK []' redeclared as different kind of symbol
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
^
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'
#define PROGMEM ICACHE_RODATA_ATTR
^
C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART/ESP8266UART.h:6:17: note: in expansion of macro 'PROGMEM'
const char OK[] PROGMEM = "OK";
^
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include/c_types.h:71:5: error: previous declaration of 'STATUS OK'
OK = 0,
^
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include/c_types.h:89:66: error: 'const char FAIL []' redeclared as different kind of symbol
#define ICACHE_RODATA_ATTR __attribute__((section(".irom.text")))
^
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266/pgmspace.h:13:21: note: in expansion of macro 'ICACHE_RODATA_ATTR'
#define PROGMEM ICACHE_RODATA_ATTR
^
C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART/ESP8266UART.h:7:19: note: in expansion of macro 'PROGMEM'
const char FAIL[] PROGMEM = "FAIL";
^
C:\Users\PC\xod\__packages__\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include/c_types.h:72:5: error: previous declaration of 'STATUS FAIL'
FAIL,
^
<command-line>:0:9: error: expected identifier before numeric constant
C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART/ESP8266UART.h:50:7: note: in expansion of macro 'ESP8266'
class ESP8266 {
^
<command-line>:0:9: error: expected unqualified-id before numeric constant
C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART/ESP8266UART.h:50:7: note: in expansion of macro 'ESP8266'
class ESP8266 {
^
C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\xod_1575761210762_sketch\xod_1575761210762_sketch.ino:5334:28: error: expected declaration before end of line
#pragma GCC diagnostic push
^
Multiple libraries were found for "ESP8266UART.h"
Used: C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART
Using library ESP8266UART in folder: C:\Users\PC\AppData\Local\Temp\xod_temp_sketchbooknRj9J1\libraries\ESP8266UART (legacy)
Error: exit status 1
Compilation failed.
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.