With an ESP32 on the Arduino IDE, a sketch will not compile because SoftwareSerial is not part of the core ESP32 software.
In the "NexUpload.cpp" please put "#include <SoftwareSerial.h>" (line 16) within the "#ifdef USE_SOFTWARE_SERIAL.". In earlier versions of the library (2021) that is how it was done.