blynkkk / blynk-library

Blynk library for IoT boards. Works with Arduino, ESP32, ESP8266, Raspberry Pi, Particle, ARM Mbed, etc.
https://blynk.io
MIT License
3.83k stars 1.38k forks source link

Template_ESP8266. Can't compile the code #432

Closed Refenz closed 5 years ago

Refenz commented 5 years ago

Blynk library version: [17ea7d] IDE: [Arduino] IDE version: [1.8.0] Board type: [ESP8266]

Scenario, steps to reproduce

  1. Open Template_ESP8266.ino
  2. Start compilation

Actual Result

In file included from sketch\BlynkProvisioning.h:16:0,

                 from C:\Users\T\AppData\Local\Temp\arduino_modified_sketch_338645\Template_ESP8266.ino:22:

C:\Users\T\Documents\Arduino\libraries\blynk-library\src/BlynkSimpleEsp8266.h:18:21: fatal error: version.h: No such file or directory

 #include <version.h>

                     ^

compilation terminated.
vshymanskyy commented 5 years ago

Arduino Core version?

vshymanskyy commented 5 years ago

@Refenz you should use the latest Arduino Core. Just verified, everything builds perfectly. Also, we have automatic build tests: https://travis-ci.org/blynkkk/blynk-library/builds

wakandan commented 5 years ago

@vshymanskyy I'm having the exact same problem. How do I check for latest Arduino Core?

wakandan commented 5 years ago

After update the board of esp8266 in the board manager, I can confirm that this error has gone. Thanks for the pointer.

PaulHoets commented 5 years ago

Hi there. I still have this issue. I have latest esp8266 boards, I have installed, reinstalled and rereinstalled the blynk parts into the arduino sketch directory, and this issue is still plaguing me. Help.

include

include

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

include

                 ^

compilation terminated. exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).

vshymanskyy commented 5 years ago

you should use the latest Arduino Core.