Plz help exit status 1 Error compiling for board Arduino Uno WiFi Rev2.

Recently I am trying to do a project about measuring sound frequency using this set up

The project required Arduino or Genuino Zero Board but I only have Arduino Uno WiFi Rev2.

So this is what happened when I import the code , I get this error message(It's in the attachment)

May someone please tell me how can I fix it and what's wrong with it? I need this project done before summer ends

error_message.txt (18.2 KB)

The project required Arduino or Genuino Zero Board but I only have Arduino Uno WiFi Rev2.

well - then you have the wrong hardware... The library you try to use (AudioFrequencyMeter) requires a SAMD architecture and you are on a (slow) ATMEGA

-> get the right board or write a different code to achieve what you want to do based on the capabilities of your Arduino

As you guessed, the library is only compatible with the SAMD architecture boards like the Zero and MKR boards. You can't use it with your Uno WiFi Rev2, thus the errors. If you want to use the library, you'll need to buy a SAMD board. The MKR Zero is a very nice board and has a reasonable price. It has an I2S interface that might be of interest to someone playing with audio and Arduino: