Adafruit tft lcd library problems

I am having a problem with this library here is the error message:

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

In file included from C:\Users\BR194904\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:19:0:

C:\Users\BR194904\Documents\Arduino\libraries\SPFD5408_TFT_Library-1.1.0\src/pin_magic.h:297:33: warning: backslash and newline separated by space

#define read8inline(result) { \

C:\Users\BR194904\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp: In member function 'void Adafruit_TFTLCD::init()':

C:\Users\BR194904\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:117:3: error: 'textsize' was not declared in this scope

textsize = 1;

^~~~~~~~

C:\Users\BR194904\Documents\Arduino\libraries\Adafruit_TFTLCD\Adafruit_TFTLCD.cpp:117:3: note: suggested alternative: 'textsize_x'

textsize = 1;

^~~~~~~~

textsize_x

exit status 1

Error compiling for board Arduino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Hi @blakeblake11. It looks like this was already fixed in the latest version of the library:

Check to make sure you aren't using an older version of the library.

I tried it and it says: A library named TFTLCD-Library-master already exists

I tried compiling it and it says this now:

Exception 0x8b04488b 0xccccccd5 0x8b64cccc 0x4013
PC=0x4013

runtime: unknown pc 0x4013
stack: frame={sp:0x0, fp:0x0} stack=[0x12048000,0x1204a000)

runtime: unknown pc 0x4013
stack: frame={sp:0x0, fp:0x0} stack=[0x12048000,0x1204a000)

eax 0x32cee800
ebx 0x58003ffd
ecx 0x3ffed555
edx 0x55555555
edi 0x99999800
esi 0x99999999
ebp 0xdfde2cda
esp 0x0
eip 0x4013
eflags 0x0
cs 0x0
fs 0xb000ffff
gs 0x0
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino Uno.

I did what you said and i am getting this error message

C:\Users\BR194904\AppData\Local\Temp\cc4dl0Cd.ltrans0.ltrans.o: In function drawX': C:\Users\BR194904\Downloads\TicTacToeEasy/TicTacToeEasy.ino:531: undefined reference to x_bitmap'
C:\Users\BR194904\Downloads\TicTacToeEasy/TicTacToeEasy.ino:531: undefined reference to x_bitmap' C:\Users\BR194904\AppData\Local\Temp\cc4dl0Cd.ltrans0.ltrans.o: In function drawCircle':
C:\Users\BR194904\Downloads\TicTacToeEasy/TicTacToeEasy.ino:526: undefined reference to circle' C:\Users\BR194904\Downloads\TicTacToeEasy/TicTacToeEasy.ino:526: undefined reference to circle'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Uno.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.