khoih-prog / ESPAsync_WiFiManager

This is an ESP32 (including ESP32-S2 and ESP32-C3) / ESP8266 WiFi Connection Manager, using ESPAsyncWebServer, with fallback web configuration portal. Use this library for configuring ESP32, ESP8266 modules' WiFi, etc. Credentials at runtime. You can also specify static DNS servers, personalized HostName, fixed or random AP WiFi channel. With examples supporting ArduinoJson 6.0.0+ as well as 5.13.5- . Using AsyncDNSServer instead of DNSServer now.
MIT License
290 stars 73 forks source link

no matching function for call to 'LITTLEFSImpl::open(const char*&, const char [2])' #98

Closed hongthiet1994 closed 2 years ago

hongthiet1994 commented 2 years ago

image

I had this error

khoih-prog commented 2 years ago

Hi @hongthiet1994

It's better to use the new ESP32 core v1.0.6+, such as ESP32 core v2.0.4, either in Arduino IDE or PIO.

Check

  1. Unable to figure out why 'LittleFS' was not declared in this scope #96
  2. Platformio Build Error - no matching function for call to 'LITTLEFSImpl::open #93 and many threads in PIO relating to deprecated lorol's LITTLEFS
  3. SPIFFS failed!. Please use LittleFS or EEPROM. Stay forever #95

If still having problem, use Arduino IDE. Moving on to PIO only your code is compiled OK / working. Post the issue on PIO Forum to ask for help then.

I'm closing the issue now as this is not a bug of the library.

Good Luck,


PS:

Next time, you have to follow the instructions in Issue: Bug report and don't post the picture, but the whole error messages, wrapped in code style.

For example

.pio/libdeps/esp32dev/LittleFS_esp32/src/LITTLEFS.cpp:44:28: error: no matching function for call to 'LITTLEFSImpl::open(const char*&, const char [2])'
...