I'm trying to use ENCODER_OPTIMIZE_INTERRUPTS and trying to attach an interrupt on another pin for something else. With the Arduino UNO I get the error message below ...
Yet another arduino encoder lib as I could not find one that used interrupts on both pins, support for callback functions and had some form of debounce logic for cheap, low quality encoders.