after upgrading to version 4.0 I am getting error about not finding timelib
B4X:
cli: compile -b esp8266:esp8266:nodemcuv2 D:\B4R\LEDStar\Objects\src\src.ino -v --board-options led=2,baud=115200,xtal=80,eesz=4M2M,dbg=Disabled,lvl=None____,ip=lm2f,vt=flash,exception=legacy,wipe=none,ssl=all
Error initializing instance: Error loading hardware platform: discovery builtin:serial-discovery not found
Error initializing instance: Error loading hardware platform: discovery builtin:mdns-discovery not found
Error initializing instance: Error loading hardware platform: discovery builtin:serial-discovery not found
Error initializing instance: Error loading hardware platform: discovery builtin:mdns-discovery not found
Error initializing instance: Error loading hardware platform: discovery builtin:serial-discovery not found
Error initializing instance: Error loading hardware platform: discovery builtin:mdns-discovery not found
FQBN: esp8266:esp8266:nodemcuv2
Using board 'nodemcuv2' from platform in folder: C:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3
Using core 'esp8266' from platform in folder: C:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3
Detecting libraries used...
C:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/include -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/lwip2/include -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Robert Valentino\AppData\Local\arduino\sketches\D865EF9F6AD7F6C9771A49D41AD67E5D/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266 -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\variants\nodemcu C:\Users\Robert Valentino\AppData\Local\arduino\sketches\D865EF9F6AD7F6C9771A49D41AD67E5D\sketch\src.ino.cpp -o nul
Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0]
ResolveLibrary(ESP8266WiFi.h)
-> candidates: [ESP8266WiFi@1.0]
In file included from D:\B4R\LEDStar\Objects\src\B4RDefines.h:27:0,
from D:\B4R\LEDStar\Objects\src\src.ino:1:
D:\B4R\LEDStar\Objects\src\rESP8266TimeTools.h:3:21: fatal error: TimeLib.h: No such file or directory
#include <TimeLib.h>
^
compilation terminated.
C:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/include -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/lwip2/include -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3/tools/sdk/libc/xtensa-lx106-elf/include -IC:\Users\Robert Valentino\AppData\Local\arduino\sketches\D865EF9F6AD7F6C9771A49D41AD67E5D/core -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_NODEMCU" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\cores\esp8266 -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\variants\nodemcu -IC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi\src C:\Users\Robert Valentino\AppData\Local\arduino\sketches\D865EF9F6AD7F6C9771A49D41AD67E5D\sketch\src.ino.cpp -o nul
Alternatives for TimeLib.h: []
ResolveLibrary(TimeLib.h)
-> candidates: []
[92mUsed library[0m [92mVersion[0m [90mPath[0m
Error during build: exit status 1
[93mESP8266WiFi[0m 1.0 [90mC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3\libraries\ESP8266WiFi[0m
[92mUsed platform[0m [92mVersion[0m [90mPath[0m
[93mesp8266:esp8266[0m 2.6.3 [90mC:\Users\Robert Valentino\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.6.3[0m