|
Arduino:1.8.19 (Mac OS X), 开发板:"LOLIN(WEMOS) D1 mini Lite, 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, 1MB (FS:64KB OTA:~470KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: sketch/My_wifi_Clock3.ino.cpp.o: in function `_ZN4U8G210drawCircleEttth':
/Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2/src/U8g2lib.h:231: undefined reference to `_Z12drawDateTimec'
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2/src/U8g2lib.h:231: undefined reference to `_Z18drawCurrentWeatherc'
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2/src/U8g2lib.h:231: undefined reference to `_Z12drawForecastc'
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2/src/U8g2lib.h:231: undefined reference to `_Z12drawDateTimec'
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: /Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2/src/U8g2lib.h:231: undefined reference to `_Z18drawCurrentWeatherc'
/Users/tmld/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/3.0.4-gcc10.3-1757bed/bin/../lib/gcc/xtensa-lx106-elf/10.3.0/../../../../xtensa-lx106-elf/bin/ld: sketch/My_wifi_Clock3.ino.cpp.o: in function `loop':
/Users/tmld/Desktop/学习/My_wifi_Clock3/My_wifi_Clock3.ino:984: undefined reference to `_Z12drawForecastc'
collect2: error: ld returned 1 exit status
"U8g2lib.h" 对应多个库
已使用: /Users/tmld/Documents/Arduino/libraries/U8g2-2.31.2
未使用:/Users/tmld/Documents/Arduino/libraries/U8g2
exit status 1
为开发板 LOLIN(WEMOS) D1 mini Lite 编译时出错。
在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。
|
|