Help with TFT LCD 3.6" OR 3.5"

Your problem is "third party SD library" and a third party SdFat.h

The sketch should work fine with the regular SD.h from your Arduino installation.

Although the official SD.h may not be perfect, everyone should know what they get from the original IDE installation.

Many of the third party "libraries" have been hacked in unknown ways.

My build showed this:

Using library SPI at version 1.0 in folder: C:\Program Files\Arduino-1.6.12\hardware\arduino\avr\libraries\SPI 
Using library SD at version 1.0.8 in folder: C:\Program Files\Arduino-1.6.12\libraries\SD 
Using library Adafruit_GFX_Library at version 1.1.5 in folder: C:\Users\David\Documents\Arduino\libraries\Adafruit_GFX_Library 
Using library MCUFRIEND_kbv-master at version 2.9.1-beta in folder: C:\Users\David\Documents\Arduino\libraries\MCUFRIEND_kbv-master

AS you can see, official Uno libraries were under "\Program Files" and User libraries were under "\Users"

David.