Skip to content

HTTPUpdate not working. Update.h:44:10: note: candidate expects 2 arguments, 4 provided #2094

Closed
@Zeni241

Description

@Zeni241
  1. I installed arduino-esp32 using library manager in Arduino IDE.
  2. I copy and paste code from here:

arduino-esp32/libraries/HTTPUpdate/examples/httpUpdate/httpUpdate.ino In Arduino IDE and compiled. I get following error:

    **_ESP32HTTPUpdate:12:24: error: HTTPUpdate.h: No such file or directory_**
  1. 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

  2. Again compiled the sketch and get following error:

__> Multiple libraries were found for "WiFi.h"

bool begin(size_t size=UPDATE_SIZE_UNKNOWN, int command = U_FLASH);
Used: C:\Users\xxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
_ _C:\Users\xxxx\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0\libraries\Update\src/Update.h:44:10: note: candidate expects 2 arguments, 4 provided
exit status 1
Error compiling for board ESP32 Dev Module.__

I am using esp32 DevKit V1. I don't know what I am doing wrong. I am using httpUpdate in esp8266 successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions