Teensyduino 1.54 SD Errors

neroroxxx

Well-known member
Hi all, i'm having errors compiling on 3.6 using the built in sd, i tried compiling the "SD > Files" example which is exactly how i use the library on my sketches and also gets the same compile errors, it's mainling and redefinition error for File

error: redefinition of 'class File' class File : public Stream {


error: previous definition of 'class File' class File : public FatFile, public Stream {


another common error is

error: 'class SDClass' has no member named 'sdfs'

Is there a workaround that i'm not aware of? i keep seeing that the SD library has a compatibility layer to work with old libraries but i can't get it work.
 
Tried that -> no problems.

Please check if you have other versions of df.h or sdfat installed. if yes, delete them.

If you have still problems, please post the output of verbose compile.
 
I didn't even realized i had a local SDFAT library installed, removing it fixed the issues, thank you for your help!
 
Back
Top