Problem understanding libraries

Took an additional look,

the application is a processing application that runs on a PC/MAC and communicates with an Arduino @ 115200 baud

p = new Pachuino(this, Arduino.list()[0], 115200);

It is not an Arduino application and when I ran it in the Arduino IDE I got exactly the same errors.