I have the newest version of the library, and I have the newest version of the Arduino programing software.
But the library you are using was not provided with the Arduino programming software (IDE) and although it is the 'newest' it probably isn't new enough.
What can I do?
You could start by searching for the phrase you are getting in your error message such as "was not declared in this scope" or "does not name a type". Note that I left out the part that contains the name of the library in order to widen the search.
Don