I installed the latest U8g2lib v2.34.22.
I am getting the following error when I try to verify the code:
undefined reference to `Arduino_GFX::setFont(unsigned char const*)'
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
this .ino file is part of a sketch that contains another .ino which calls the setupDisplay method in its setup(). I tried to run U8g2FontHelloWorld.ino example provided with this library and it works perfectly but when I copy the content of this example and put it in my sketch it stops working and get the same error.
Hello I am having an issue when using the setFont function. I am using the Arduino Mega with a ILI9486 shield display. this is my code:
I installed the latest U8g2lib
v2.34.22
. I am getting the following error when I try to verify the code:this .ino file is part of a sketch that contains another .ino which calls the setupDisplay method in its setup(). I tried to run
U8g2FontHelloWorld.ino
example provided with this library and it works perfectly but when I copy the content of this example and put it in my sketch it stops working and get the same error.