Arduino cache multiple definition error [How to Solve]

esp32
Compile error message.
C:\Users\……\Temp\arduino_build_26414\sketch\src\myMp3Data.cpp.o:(.data.MySampleMp3+0x0): multiple definition of `MySampleMp3′
C:\Users\……\Temp\arduino_build_26414\sketch\Vs1053Test.ino.cpp.o:(.data.MySampleMp3+0x0): first defined here

 

Solution:
Go to the directory, delete all the files inside or delete them according to the specified file, and then compile
C:\Users\……\Temp\arduino_build_26414\sketch\src

Read More: