Looks like you are using windows and you are compiling code for the arduino Mega 2560 controller.
Is this error within the arduino IDE or are you trying to use platformIO in vscode?
If arduino IDE, often the dependency error occurs when the firmware .ino file is opened from within a zip file. If you extracted the zip file and are still having this error, then it may be that you have selected the wrong compile target or have not selected one and it is defaulting to the uno. Do you have arduino mega 2560 selected as the device to compile to? There is a guide in the wiki area that walks through step by step how to do most of this here.
If you are using an M2 controller, this firmware version won’t work.