You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made my own page for setup, but when I tried to compile the library it failed. After some testing, I discovered that even with the original files from the library, with NO changes at all, if I build the setup file and copy it to the src folder, the library has an error and will no longer build.
Error:
/Users/iamorion/Documents/Arduino/libraries/AsyncEspFsWebserver/src/AsyncFsWebServer.cpp: In member function 'void AsyncFsWebServer::handleSetup(AsyncWebServerRequest*)': /Users/iamorion/Documents/Arduino/libraries/AsyncEspFsWebserver/src/AsyncFsWebServer.cpp:219:93: error: '_acsetup_min_htm' was not declared in this scope; did you mean '_acedit_min_htm'? 219 | AsyncWebServerResponse *response = request->beginResponse_P(200, "text/html", (uint8_t*)_acsetup_min_htm, sizeof(_acsetup_min_htm)); | ^~~~~~~~~~~~~~~~ | _acedit_min_htm exit status 1 Error compiling for board ESP32C3 Dev Module.
If I restore the setup_htm.h that exists in src from the download, it will compile file. If I compile the file following the instructions and using node minify.js - then move the generated setup_htm.h file into the src folder, it then has the error as above so something is breaking and it's not possible to create custom pages currently (Using version 1.0.7)
The text was updated successfully, but these errors were encountered:
I made my own page for setup, but when I tried to compile the library it failed. After some testing, I discovered that even with the original files from the library, with NO changes at all, if I build the setup file and copy it to the src folder, the library has an error and will no longer build.
Error:
/Users/iamorion/Documents/Arduino/libraries/AsyncEspFsWebserver/src/AsyncFsWebServer.cpp: In member function 'void AsyncFsWebServer::handleSetup(AsyncWebServerRequest*)': /Users/iamorion/Documents/Arduino/libraries/AsyncEspFsWebserver/src/AsyncFsWebServer.cpp:219:93: error: '_acsetup_min_htm' was not declared in this scope; did you mean '_acedit_min_htm'? 219 | AsyncWebServerResponse *response = request->beginResponse_P(200, "text/html", (uint8_t*)_acsetup_min_htm, sizeof(_acsetup_min_htm)); | ^~~~~~~~~~~~~~~~ | _acedit_min_htm exit status 1 Error compiling for board ESP32C3 Dev Module.
If I restore the setup_htm.h that exists in src from the download, it will compile file. If I compile the file following the instructions and using node minify.js - then move the generated setup_htm.h file into the src folder, it then has the error as above so something is breaking and it's not possible to create custom pages currently (Using version 1.0.7)
The text was updated successfully, but these errors were encountered: