Lilygo T-Display-S3 Factory example compile error

Sorry, I’m very new to this. Could you please explain what is “the libraries subfolder of your sketchbook folder” can you explain more?

What I did was download everything from GitHub page, un zip, and copy the whole folder to ~/Library/Application Support/arduino-ide/. And then copy everything in the lib folder to ~/Library/Application Support/arduino-ide/ as well.