Error compiling for board D1 R1

I use Arduino 1.8.9 version with Wemos D1 R1 board. I'm currently working on an automatic street light using IoT project. When I test connecting Wemos D1 to Adafruit IO with the example coding provided, it works fine. But when I want to implement my own code, it says these errors,

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "WeMos D1 R1, 80 MHz, Flash, Disabled, 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.cpp: In constructor 'AdafruitIO_ESP8266::AdafruitIO_ESP8266(const char*, const char*, const char*, const char*)':

C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.cpp:22:53: error: cannot allocate an object of abstract type 'HttpClient'

_http = new HttpClient(*_client, _host, _http_port);

^

In file included from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/ArduinoHttpClient.h:8:0,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/AdafruitIO.h:23,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.h:18,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.cpp:14:

C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/HttpClient.h:41:7: note: because the following virtual functions are pure within 'HttpClient':

class HttpClient : public Client

^

In file included from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/HttpClient.h:10:0,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/ArduinoHttpClient.h:8,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src/AdafruitIO.h:23,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.h:18,

from C:\Users\HP\Downloads\My Part IDP\libraries\Blynk\src\libraries\arduino_311205\src\wifi\AdafruitIO_ESP8266.cpp:14:

C:\Users\HP\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/Client.h:29:21: note: virtual int Client::connect(const IPAddress&, uint16_t)

virtual int connect(CONST IPAddress& ip, uint16_t port) =0;

^

C:\Users\HP\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/Client.h:37:22: note: virtual bool Client::flush(unsigned int)

virtual bool flush(unsigned int maxWaitMs = 0) = 0;

^

C:\Users\HP\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/Client.h:38:22: note: virtual bool Client::stop(unsigned int)

virtual bool stop(unsigned int maxWaitMs = 0) = 0;

^

exit status 1 Error compiling for board WeMos D1 R1.

I hope someone can help me and thank you in advance.

use esp8266 boards package 2.4.2