Hi - I'm having a problem with Autoconnect on an ESP-32 board. I'm using OSX 10.14.6 and Arduino 1.8.10.
I have multiple sketches that include AutoConnect 1.1.3. They all used to compile fine. I went away for a month and when I returned all sketches with Autoconnect, including the included examples, now fail to compile.
Using one of the AutoConnect examples, "Hello World", I get the error:
/Users/myHome/Documents/Arduino/libraries/AutoConnect/src/AutoConnectUpdate.h:45:24: fatal error: HTTPUpdate.h: No such file or directory
...
compilation terminated.
...
exit status 1
Error compiling for board NodeMCU-32S.
I'm going to ask you to post the verbose compilation output in hopes that will provide a clue to the cause of the problem.
Please do this:
(In the Arduino IDE) click File > Preferences
Check the box next to "Show verbose output during: > compilation
Click "OK"
Sketch > Verify/Compile
After the compilation fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the compilation output between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the length of the output exceeds the forum's 9000 character limit, save it in a .txt file and post it here as an attachment. If you click the "Reply" button you'll see the "Attachments and other options" link.
pert:
I'm going to ask you to post the verbose compilation output in hopes that will provide a clue to the cause of the problem.
Thanks for the response.
Actually, the problem went away. I changed the board type from NodeMCU-32S to ES32 Dev Module (which is a slightly different device) and it compiled...so I went back to NodeMCU-32S and it compiled without error.
I didn't change any code or OS files.
I recall having this problem a while back, and I did something back then that fixed it, but unfortunately I didn't make any notes about it and now I can't recall what fixed it that time.
It's frustrating to have a problem disappear before you can understand and diagnose it!
Anyway, I expect it may return (as it has before) and when it does I'll repost this question along with the verbose compiler output you requested...
Thanks for taking the time to post an update. It is indeed unsatisfying (and difficult to troubleshoot) when the problem goes away without any reason.
The libraries bundled with the hardware packages are only accessible when a board of that package is selected. For example, the libraries in /Users/myHome/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries will only be accessible when you are compiling for one of the ESP32 boards. I know that you were always compiling for ESP32 boards, so it's not a matter of user error, but it may be that the mechanism the Arduino IDE uses to restrict the bundled libraries malfunctioned. When you changed the board, it reset that mechanism from its broken state.
Next time it happens I'll try to trace the process and see if it indicates where the problem lies. I'll include a full verbose compiler output taken from before I start trying different board options...might be of use to other users or to the IDE folks...