Mysensors libray error - esp8266
-
Hya,
i got the following errror while trying to compile the code:
Sketch wird kompiliert... /home/paulo/.arduino15/packages/esp8266/tools/python3/3.7.2-post1/python3 /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/signing.py --mode header --publickey /home/paulo/Arduino/Projects/PW/MySensors/GatewayESP8266-pw/public.key --out /tmp/arduino_build_767423/core/Updater_Signing.h /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/sdk/include -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/sdk/lwip2/include -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/tools/sdk/libc/xtensa-lx106-elf/include -I/tmp/arduino_build_767423/core -c -Os -g -free -fipa-pta -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++17 -MMD -ffunction-sections -fdata-sections -fno-exceptions -DMMU_IRAM_SIZE=0x8000 -DMMU_ICACHE_SIZE=0x8000 -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10813 -DARDUINO_ESP8266_WEMOS_D1MINIPRO -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_WEMOS_D1MINIPRO\"" -DFLASHMODE_DIO -DESP8266 -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/cores/esp8266 -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/variants/d1_mini -I/home/paulo/Arduino/Projects/libraries/MySensors -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/SPI -I/home/paulo/Arduino/Projects/libraries/ESP8266WiFi/src -I/home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/EEPROM /tmp/arduino_build_767423/sketch/GatewayESP8266-pw.ino.cpp -o /tmp/arduino_build_767423/sketch/GatewayESP8266-pw.ino.cpp.o In file included from /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/xtensa-lx106-elf/include/assert.h:10, from /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/xtensa-lx106-elf/include/sys/reent.h:503, from /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/xtensa-lx106-elf/include/stdlib.h:18, from /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/xtensa-lx106-elf/include/c++/10.2.0/cstdlib:75, from /home/paulo/.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/xtensa-lx106-elf/include/c++/10.2.0/stdlib.h:36, from /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/cores/esp8266/Arduino.h:27, from /tmp/arduino_build_767423/sketch/GatewayESP8266-pw.ino.cpp:1: /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2Serial(MyMessage&)': /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp:94:28: error: expected ')' before '__INT8' 94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(), | ^~~~~ /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp:94:19: note: to match this '(' 94 | PSTR("%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%" PRIu8 ";%s\n"), message.getSender(), | ^~~~ /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp: In function 'char* protocolMyMessage2MQTT(const char*, MyMessage&)': /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp:103:31: error: expected ')' before '__INT8' 103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix, | ^~~~~ /home/paulo/Arduino/Projects/libraries/MySensors/core/MyProtocol.cpp:103:19: note: to match this '(' 103 | PSTR("%s/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 "/%" PRIu8 ""), prefix, | ^~~~ Mehrere Bibliotheken wurden für "ESP8266WiFi.h" gefunden Benutzt: /home/paulo/Arduino/Projects/libraries/ESP8266WiFi Nicht benutzt: /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/ESP8266WiFi Mehrere Bibliotheken wurden für "EEPROM.h" gefunden Benutzt: /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/EEPROM Nicht benutzt: /home/paulo/Arduino/Projects/libraries/EEPROM Bibliothek MySensors in Version 2.3.2 im Ordner: /home/paulo/Arduino/Projects/libraries/MySensors wird verwendet Bibliothek SPI in Version 1.0 im Ordner: /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/SPI wird verwendet Bibliothek ESP8266WiFi in Version 1.0 im Ordner: /home/paulo/Arduino/Projects/libraries/ESP8266WiFi wird verwendet Bibliothek EEPROM in Version 1.0 im Ordner: /home/paulo/.arduino15/packages/esp8266/hardware/esp8266/3.0.0/libraries/EEPROM wird verwendet exit status 1 Fehler beim Kompilieren für das Board LOLIN(WEMOS) D1 mini Pro.
anyone aware of what it can be?
thx in advance.
-
@pw44 downgraded ESP from 3.0.1 to 2.7.4 and issue is gone.