schreibfaul1 / ESP32-audioI2S

Play mp3 files from SD via I2S
GNU General Public License v3.0
1.08k stars 284 forks source link

Question about sd card. #268

Closed nodoubtman closed 2 years ago

nodoubtman commented 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.

nodoubtman commented 2 years ago

ok

Strat00s commented 2 years ago

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).