No, that library is for ESP-IDF, not for the Arduino framework.
See: Overview of LoRaWAN Libraries [HowTo]
What LoRaWAN library and what sketch are you using?
If you want useful feedback you should provide (much) more information.
Also have a look at: Big ESP32 + SX127x topic part 3