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 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_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 here

    Used 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 result

    Any ideas what to do to fix this?
    //Håkan


  • Mod

    @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.


Log in to reply
 

Suggested Topics

0
Online

11.4k
Users

11.1k
Topics

112.6k
Posts