Skip to content

Can not load SD.h #77

@JIRAYUTRPY

Description

@JIRAYUTRPY

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions