-
Notifications
You must be signed in to change notification settings - Fork 7.6k
HTTPUpdate not working. Update.h:44:10: note: candidate expects 2 arguments, 4 provided #2094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What function call is causing the error? If I look in the ESP32 repository at line 44:10 in Update.h I see no function but a #define. |
First of all thanks for your quick response.
And here is the messages in bottom window of Arduino IDE:
|
I suspect you do not have the latest HTTPClient. This client is part of PR #1979. Since PR #1979 was merged into master a few days ago, you should pull in the latest git version in stead of copying just a few files. This should give you all the lastest libraries, including the lastest HTTPUpdate and the lastest HTTPClient. |
Thanks again. I have downloaded arduino-esp32-master.zip file and added only two missing libraries, HTTPUpdate” and “FFat” in my libraries folder C:\Users\xxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries |
Your welcome! |
Replaced the whole folder of libraries in
version.
Replaced new WiFi folder (19 Nov 2018) in libraries with old WiFi folder (28 July 2018).
Tomorrow I will upload new version of sketch on my server and see how the actual update goes. I will post the results here tomorrow. Thanks a lot Jeroen88. It was not possible without your prompt replies. |
The errors you get about AzureIoT and BLE libraries are because you did not "recursively clone submodules" while cloning the repo with git. You can follow the official instructions for cloning this repo to fix this. |
Thanks mouridis, seems like I can no more avoid learning GitHub , (which I avoided my whole life with utmost passion :) :) ). |
I tried to be ignorant for git too, but once you see the light... ;) |
Good morning and good news. Uploaded new bin file on server, ESP32 downloaded, installed and running new sketch obediently, like a good boy. Every thing worked like charm. |
Thanks a lot. |
Hi, I also get the message during compiling: error: HTTPUpdate.h: No such file or directory_** While it's in the "C:\Users\myname\Documents\Arduino\hardware\espressif\esp32\libraries\HTTPUpdate\src" folder. Quick and dirty is to copy paste the HTTPUpdate.h file to the sketch folder. But why are other libraries of the ESP32 found, and this one not? |
update: before I was updating, or trying to update the ESP-Arduino core using GIT. But recently switched to the Arduino IDE for updating the core. Most of the libraries are part the the stable release, you need to set the additional board manager url to the 'developer release' for libraries like httpupdate. developer url: 'https://dl.espressif.com/dl/package_esp32_dev_index.json'. So basically I can forget about the GIT-stuff, which I don't mind to be honest. |
arduino-esp32/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino In Arduino IDE and compiled. I get following error:
I downloaded “arduino-esp32” zip file from github and unzipped two missing libraries, “HTTPUpdate” and “FFat” in my libraries folder C:\Users\xxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries
Again compiled the sketch and get following error:
__> Multiple libraries were found for "WiFi.h"
I am using esp32 DevKit V1. I don't know what I am doing wrong. I am using httpUpdate in esp8266 successfully.
The text was updated successfully, but these errors were encountered: