I am using Blynk along with the Arduino Mega2560 to make a project. I followed the instructions to download the Blynk libraries, and moved them to the libraries folder in my sketchbook, as instructed. Even so, the Arduino IDE is giving me all sorts of errors like âthis does not name a type,â âBlynk was not declared in this scope,â etc. Aditionally, none of the librariesâ keywords are turning orange like they usually do. This is leading me to believe that the Arduino IDE doesnât recognize this library. Does anybody know why this could be happening?
I checked and all of the libraries were in the right folders as per the instructions. I even tried reinstalling them and following the directions just in case something went wrong. I checked for a Cayenne library, and I found one and deleted it (it was for Python if that matters) but the error still showed up. Lastly, I reinstalled Arduino IDE but nothing changed. If this helps, this is the exact error:
Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Aarush Gupta\Documents\Arduino\Plant_Watering_Project_with_Blynk\Plant_Watering_Project_with_Blynk.ino:5:25: fatal error: ESP8266_Lib.h: No such file or directory
#include <ESP8266_Lib.h>
^
compilation terminated.
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Perhaps the second part of this statement is true, but is it the right folder?? Usually it is the [libraries] folder located in the folder where projects are stored (the sketch folder)
Using library Servo at version 1.1.2 in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
TBH, I donât know! But Iâve never installed it that way,and never had similar problems. The point is, you need to know where your IDE is looking for libraries. Some idea is to use Arduino IDE library manager and check, where it stores the libraries.
I must say, Iâve never met such a problem, and Iâve been using Arduino IDE for a years: In Windows and Linux, as a installation package, as well as a portable app⌠you need to sort it out. Itâs quite unlikely it is Blynk error (issue)âŚ
I tried installing it again, but it forced me to go to the Windows store. When I clicked cancel when it prompted me, it just didnât download. Can you tell me how to install without going to the Windows store?
To keep everything - sketches, libs, preferences, additional cores like the ESP etc. - in one place
I prefer using the portable installation also on a PC.
It makes usage and backup fairly easy.