Pololu 1442 + Arduino Mega 2560

Hello,
i’ve bought pololu 1442 motor with quadrature encoder.
I’ve wanted to read signals from encoder with PololuWheelsEncoder.h, but when i add this library to code i get errors that sei and cli was not declared in this scope.
How can i get PololuWheelsEncoder.h run on my arduino mega ?

Hello.

I am sorry you are having trouble using the wheel encoder library. Can you tell me how you installed the library, and post your sketch? Also, can you double check that you have the right board selected?

-Jon