In wokwi the builds fail for the same and various reasons something might not compile verify in the “real” IDE.
So far the error reporting is a bit sketchy.If you really get stuck, you can copy paste the code into the Arduino IDE and verify it there to get more and maybe better error warning reports.
But here you problem seems to be that they don’t have the library you wanna use. See
for the way forward. If it has been brought in, you are good. If it hasn’t, you can ask of them that they do.
Worst case, and I did it before I knew the above, is to make new tabs in the wokwi and copy paste the library code into them… which in some cases is a breeze and in others would be prohibitively stupid amount of work.
So another approach which your coding style might shoukd support anyway is to use the sim for logic and flow and some hardware, then carry success back to the real world to combine with parts where simulation was too lodge a task.
HTH
a7