Hello, i am getting the following error while using SoftwareSerial and HLW8032 library help me out solving this error

C:\Users\samiksha sarnaik\Documents\Arduino\libraries\SoftwareSerial-master" "C:\Users\samiksha sarnaik\Documents\Arduino\libraries\SoftwareSerial-master\SoftwareSerial.cpp" -o nul
Alternatives for avr/interrupt.h: []C:\Users\samiksha sarnaik\Documents\Arduino\libraries\SoftwareSerial-master\SoftwareSerial.cpp:41:27: fatal error: avr/interrupt.h: No such file or directory

ResolveLibrary(avr/interrupt.h)
compilation terminated.
-> candidates: []

Using library HLW8032-master in folder: C:\Users\samiksha sarnaik\Documents\Arduino\libraries\HLW8032-master (legacy)
Using library SoftwareSerial-master at version 1.0 in folder: C:\Users\samiksha sarnaik\Documents\Arduino\libraries\SoftwareSerial-master
exit status 1
Error compiling for board ESP32 Dev Module.

Welcome to the forum

Which Arduino board are you using and which board do you have selected in the IDE ?

Please post the sketch that caused the error, using code tags when you do

The error message that you originally posted was much longer. Why did you delete most of it ?

@samiksha_sarnaik
The library which you try to use is not compatible with ESP32 board.

The ESP32 has 3 different Serial Ports (UART). So you are unlikely to need SoftwareSerial in ESP32, use HardwareSerial instead.