lewisxhe / Esp-badge

MIT License
120 stars 90 forks source link

Arduino Compile 'Esp-badge' there are errors #20

Closed plutosherry closed 3 years ago

plutosherry commented 3 years ago

some libraries errors?! The Board Version is T5_V2.3_2.13 Arduino libraries is okay....because it can work fine at the 'LilyGo-T5-Epaper-Series-master' Example but when Compile 'Esp-badge' there are errors: C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp: In member function 'virtual size_t GxFont_GFX::write(uint8_t)': C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp:177:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp: In member function 'int16_t GxFont_GFX::getCursorX() const': C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp:198:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp: In member function 'int16_t GxFont_GFX::getCursorY() const': C:\Users\SHERRY\Documents\Arduino\libraries\GxEPD\src\GxFont_GFX.cpp:219:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ c:/users/sherry/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\ESPAsync_WebServer_ID306\WebAuthentication.cpp.o:(.literal._ZL6getMD5PhtPc+0x4): undefined reference tombedtls_md5_starts' c:/users/sherry/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/gcc8_4_0-esp-2021r1/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: libraries\ESPAsync_WebServer_ID306\WebAuthentication.cpp.o: in function getMD5(unsigned char*, unsigned short, char*)': C:\Users\SHERRY\Documents\Arduino\libraries\ESPAsync_WebServer_ID306\src/WebAuthentication.cpp:73: undefined reference tombedtls_md5_starts' collect2.exe: error: ld returned 1 exit status "Adafruit_GFX.h" 对应多个库 已使用: C:\Users\SHERRY\Documents\Arduino\libraries\Adafruit_GFX_Library 未使用:C:\Users\SHERRY\Documents\Arduino\libraries\Adafruit_GFX_Library_ID13 "SD.h" 对应多个库 已使用: C:\Users\SHERRY\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-rc1\libraries\SD 未使用:D:\SOFT_WARE\Arduino\libraries\SD "WiFi.h" 对应多个库 已使用: C:\Users\SHERRY\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0-rc1\libraries\WiFi 未使用:D:\SOFT_WARE\Arduino\libraries\WiFi exit status 1 为开发板 ESP32 Dev Module 编译时出错。 `