Compiling error on LilyGo 2.13 ePaper display (DEPG0213BN)
levycarneiro opened this issue · 1 comments
Hello!
I'm trying to use a LilyGo 2.13 ePaper display. The model is DEPG0213BN.
I followed the steps in the github repository: Xinyuan-LilyGO/LilyGo-T5-Epaper-Series.
-
I installed Adafruit-GFX library, and the GxEPD library from this repository: https://github.com/lewisxhe/GxEPD
-
I copied all the files from https://github.com/lewisxhe/GxEPD/tree/master/src to my libraries folder.
-
I took the example code from the github repository at Xinyuan-LilyGO/LilyGo-T5-Epaper-Series/blob/master/examples/GxEPD_Example/GxEPD_Example.ino
-
I uncommented the following lines:
#define LILYGO_T5_V213
and
#include <GxDEPG0213BN/GxDEPG0213BN.h> // 2.13" b/w form DKE GROUP
-
In my Arduino IDE, I have "ESP32 Dev Module" selected as board.
-
When trying to compile, I get the error:
In file included from /Users/xxxxx/Arduino/libraries/GxEPD-lewisxhe/GxEPD.h:20:0,
from /Users/xxxxx/Arduino/GxEPD_Example/GxEPD_Example.ino:10:
/Users/xxxxx/Arduino/libraries/GxEPD-lewisxhe/GxFont_GFX.h:77:13: error: 'int16_t GxFont_GFX::getUTF8Width(const char*)' cannot be overloaded
int16_t getUTF8Width(const char *str);
^
/Users/xxxxx/Arduino/libraries/GxEPD-lewisxhe/GxFont_GFX.h:45:13: error: with 'int16_t GxFont_GFX::getUTF8Width(const char*)'
int16_t getUTF8Width(const char *str);
^
Any idea how to solve this?
Thanks!
Problem solved!
See details here:
https://forum.arduino.cc/t/compiling-error-on-lilygo-2-13-epaper-display-depg0213bn/955580/4