You are using the library from the linked page? in the rgb_lcd.cpp file you will need to remove all headers (particle includes them if required) and replace with application.h,
in the rgb_lcd.h you can remove both includes
as a test try this example with the #include removed
there was a bug with 0.4.7 where the device would lock up if the resistors were not present on i2c, maybe try going back to an older version just to test, maybe 0.4.6.
let us know how you get on