Closed nodoubtman closed 2 years ago
Error compiling SDFat example:
C:\Users\Marc\Documents\Arduino\libraries\SdFat-master\src/SdFat.h:462:16: note: previous declaration as 'typedef class FsFile File' typedef FsFile File; ^~~~
C:\Users\Marc\Documents\Arduino\libraries\ESP32-audioI2S-master\src/Audio.h:35:16: error: conflicting declaration 'typedef class File32 File' typedef File32 File;
help me solve thanks. Marc.
ok
How about posting a solution? I have the exact same problem. However, my "fix" was to replace the typedef line in Audio.h with typedef FsFile File; (so same as in SdFat.h).
Audio.h
typedef FsFile File;
SdFat.h
Error compiling SDFat example:
C:\Users\Marc\Documents\Arduino\libraries\SdFat-master\src/SdFat.h:462:16: note: previous declaration as 'typedef class FsFile File' typedef FsFile File; ^~~~
C:\Users\Marc\Documents\Arduino\libraries\ESP32-audioI2S-master\src/Audio.h:35:16: error: conflicting declaration 'typedef class File32 File' typedef File32 File;
help me solve thanks. Marc.