编译错误:collect2.exe:错误:ld 返回 1 退出状态

时间:2021-05-29 11:13:02

标签: compiler-errors arduino-esp8266

我真的遇到了这个错误的麻烦。我以为在调试完所有内容后,它会运行。但它仍然有编译错误。你能帮我么 ? 这是错误消息:

Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "LOLIN(WEMOS) D1 mini Pro, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 16MB (FS:14MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"



c:/users/win10/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\NewsApiClient.cpp.o:C:\Users\Win10\Downloads\marquee-scroller-master\marquee-scroller-master\marquee/NewsApiClient.cpp:28: multiple definition of `wifiClient'; sketch\BitcoinApiClient.cpp.o:C:\Users\Win10\Downloads\marquee-scroller-master\marquee-scroller-master\marquee/BitcoinApiClient.cpp:27: first defined here

c:/users/win10/documents/arduinodata/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.0-newlib4.0.0-gnu23-48f7b08/bin/../lib/gcc/xtensa-lx106-elf/10.2.0/../../../../xtensa-lx106-elf/bin/ld.exe: sketch\PiHoleClient.cpp.o:C:\Users\Win10\Downloads\marquee-scroller-master\marquee-scroller-master\marquee/PiHoleClient.cpp:27: multiple definition of `wifiClient'; sketch\BitcoinApiClient.cpp.o:C:\Users\Win10\Downloads\marquee-scroller-master\marquee-scroller-master\marquee/BitcoinApiClient.cpp:27: first defined here

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board LOLIN(WEMOS) D1 mini Pro.

0 个答案:

没有答案
相关问题