I’m not officially supporting the code, I just share it.
In my environment it runs. Most likely you have choosen a wrong Arduino version, it was developed with the Leonardo, that was provides with the sodaq shield.
Which #include are missing ? which arduido do you whant to use ?