Error compiling on new w10 and arduino edi 1.8.10
-
Hi,
I hade to reinstall my w10 due to ssd failure.
When I try to compile for my NodeMcu Gateway I do get this error and a bunch more
c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o):C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:55: multiple definition of `g_pcont'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:52: first defined herec:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_yield':
C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:103: multiple definition of `esp_yield'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:88: first defined here
c:/users/hakan/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-4-b40a506/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: C:\Users\hakan\AppData\Local\Temp\arduino_cache_125707\core\core_46d12f6909850cbe5ddce9c28f2b9770.a(core_esp8266_main.cpp.o): in function `esp_schedule':.
Also get this error
Multiple libraries were found for "MySensors.h"
Used: D:\Arduino\ScetchBooks\libraries\MySensors-development
Multiple libraries were found for "SPI.h"
Used: C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\libraries\SPI
C:\Users\hakan\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.0\cores\esp8266/core_esp8266_main.cpp:111: multiple definition of `esp_schedule'; sketch\NodeMcuGW2.ino.cpp.o:D:\Arduino\ScetchBooks\libraries\MySensors-development/hal/architecture/ESP8266/MyMainESP8266.cpp:96: first defined hereUsed the example file for an 8266 GW
Installed Arduino EDI 1.8.10 and tried both installing the MySensors through library and downloading zip file from git with same resultAny ideas what to do to fix this?
//Håkan
-
@keldandorin You'll need to install the development version of MySensors, or downgrade the esp board definitions. See https://forum.mysensors.org/post/92176 for more details.
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Forum Search not working?
Troubleshooting • 4 Oct 2023, 23:33 • Gibber 2 Sept 2024, 20:28 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
JSN SR04T - Temperature Influencing Readings
Troubleshooting • 6 Sept 2019, 07:51 • Timbergetter 7 days ago