JPEGDecoder icon indicating copy to clipboard operation
JPEGDecoder copied to clipboard

Can not load SD.h

Open JIRAYUTRPY opened this issue 2 years ago • 0 comments

I user JPEGDECODER with TFT_eSPI So i try to complie code and then Error show :

error: 'File' does not name a type; did you mean 'SdFile'? 89 | File g_pInFileSd; | ^~~~ | SdFile

i try any solution as inlcude FS.h, In user config i just try uncomment LOAD_SDFAT_LIBRARY, In JPEGDecoder.h i change to #if !defined (FS_NO_GLOBALS) && defined (FS_H) #undef LOAD_SD_LIBRARY #undef LOAD_SDFAT_LIBRARY #endif But still show the same error.

JIRAYUTRPY avatar Mar 11 '23 12:03 JIRAYUTRPY