ESP-Rotary encoder sketch can't compiling

I tested Lib AiEsp32RotaryEncoder on Arduino 2.0.2 and it compiling and working

on PIO I got error:
.pio/libdeps/esp32dev/Ai Esp32 Rotary Encoder/src/AiEsp32RotaryEncoder.cpp:135:1: error: no declaration matches ‘AiEsp32RotaryEncoder::AiEsp32RotaryEncoder(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)’
AiEsp32RotaryEncoder::AiEsp32RotaryEncoder(uint8_t encoder_APin, uint8_t encoder_BPin, uint8_t encoder_ButtonPin, uint8_t encoder_VccPin, uint8_t encoderSteps)

although on header
AiEsp32RotaryEncoder(
uint8_t encoderAPin = AIESP32ROTARYENCODER_DEFAULT_A_PIN,
uint8_t encoderBPin = AIESP32ROTARYENCODER_DEFAULT_B_PIN,
uint8_t encoderButtonPin = AIESP32ROTARYENCODER_DEFAULT_BUT_PIN,
int8_t encoderVccPin = AIESP32ROTARYENCODER_DEFAULT_VCC_PIN,
uint8_t encoderSteps = AIESP32ROTARYENCODER_DEFAULT_STEPS);

Not reproducable.

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = igorantolic/Ai Esp32 Rotary Encoder@^1.4
Linking .pio\build\esp32dev\firmware.elf
Retrieving maximum program size .pio\build\esp32dev\firmware.elf
Checking size .pio\build\esp32dev\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   6.9% (used 22744 bytes from 327680 bytes)
Flash: [==        ]  20.4% (used 266737 bytes from 1310720 bytes)
Building .pio\build\esp32dev\firmware.bin
esptool.py v4.4
Creating esp32 image...
Merged 2 ELF sections
Successfully created esp32 image.
============================== [SUCCESS] Took 13.89 seconds ============================== *  Terminal will be reused by tasks, press any key to close it.