In file included from C:\Users\Ben\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/wifi/AdafruitIO_ESP8266.h:18:0,
from C:\Users\Ben\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/AdafruitIO_WiFi.h:27,
from sketch\config.h:20,
from C:\Users\Ben\AppData\Local\Temp\arduino_modified_sketch_528088\adafruitio_06_digital_in.ino:19:
C:\Users\Ben\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/AdafruitIO.h:16:27: fatal error: Adafruit_MQTT.h: No such file or directory
#include "Adafruit_MQTT.h"
^
compilation terminated.
exit status 1
Error compiling for board Adafruit HUZZAH ESP8266.
I have made no changes to the sketch except entering my network and adafruit io info.
I was also experiencing the same issue, however now its complaining, or getting hung up on, my esp8266 wifi library. Got any Ideas? this is what happens:
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\david\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\libraries\ESP8266WiFi
exit status 1
Error compiling for board Adafruit HUZZAH ESP8266.
I do not have very much experience in this, but what I can suggest is:
Try it on a different computer
Try reinstalling the library
Try rebooting your computer
Thanks for that. I was stuck on that for a while, but now I am getting
\Documents\Arduino\libraries\Adafruit_IO_Arduino\src/AdafruitIO.h:26:4: error: #error "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager."
#error "This sketch requires Adafruit MQTT Library v0.17.0 or higher. Please install or upgrade using the Library Manager."
But when I look in the library manager, it says I have 0.17.0 installed.
Fixed my issue by uninstalling the Arduino IDE and deleting the Arduino folder in my Documents folder. I then reinstalled the Arduino IDE and the libraries. Was able to compile\pass the check after that.