Error "fatal error: version.h: No such file or directory #include <version.h>"

"Arduino: 1.8.19 (Windows 10), Board: "WeMos D1 R1, 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, WIFI, 115200"

In file included from C:\Users\UMARHA~1\AppData\Local\Temp\arduino_modified_sketch_370839\ESP8266_Standalone.ino:37:0:

C:\Users\Umar Haqimi\OneDrive\Documents\Arduino\libraries\Blynk\src/BlynkSimpleEsp8266.h:18:21: fatal error: version.h: No such file or directory

#include <version.h>

                 ^

compilation terminated.

exit status 1

Error compiling for board WeMos D1 R1.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences."

I always got this error when I click "upload". Can someone help me?(I'm using WeMos D1 board)

Try updating the ESP8266 build environment, and remove that Blynk library and install the newest one with the Library Manager.
See also: https://github.com/blynkkk/blynk-library/issues/432

Let me try...

It works! Thank you soo much!

I'm glad it works :smiley:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.