s00500 / ESPUI

A simple web user interface library for ESP32 and ESP8266
https://valencia.lbsfilm.at/midterm-presentation/
Other
909 stars 170 forks source link

Lastest ESPUI not working with latest ArduinoIDE and dependencies #179

Open ManieCR opened 2 years ago

ManieCR commented 2 years ago

Good day

I see to be getting LiitleFS errors when using the 2.1.x ESPUI libraries.

I am running windows 10, everything updated.

Manie

thomastech commented 2 years ago

Arduino's ESP32 LittleFS library was updated. Unfortunately header and function names have changed. Previously LITTLEFS, now LittleFS.

Until the changes are folded into ESPUI you should edit your local copy of the ESPUI library. Here's the basic changes you need to make:

In your ino file change (if used):

include

to

include

In ESPUI.h change: #include <LITTLEFS.h> To #include <LittleFS.h>

In ESPUI.cpp use search & replace and change all instances of these characters (including the dot): LITTLEFS. To LittleFS.

MartinMueller2003 commented 2 years ago

I just tested using the latest code and updated the code to use LittleFS for ESP32. PR is open

StefanL38 commented 1 year ago

For making it easier to find this solution I want to add the error-messages that appear error: no matching function for call to 'LITTLEFS

error: 'beginLittleFS' was not declared in this scope

warning("Use the built-in LITTLEFS library")