Closed luc-github closed 2 years ago
I have just commited a quick update that should fix these issues. It takes a long time to recompile with different combinations of settings so I tend not to do that - errors may sneak in. One reason is that changes to the CMakeLists.txt casues the framework (1200 or so files) to be recompiled as well and this is slow...
if I compile with WiFi enabled but OPTION(SDcard "SD Card Streaming" OFF) (I forget to enable it)
I now enable the SD card option if WebUI is enabled, I guess I should enable WiFi too.
if OPTION(WebAuth "WebUI authentication" ON) there are another issues
This is due to the default compiler settings beeing very strict. I added a compiler flag to CMakeLists.txt to not treat the warning as an error. If you copied the CMakeLists.txt from the previous version this might be the reason.
Ok I will give a try, I always use CMakeLists.txt provided by git and do change according needs, I never copy old one to new release
Fixed - Thank you ^_^
I think some sanity check are missing in latest git https://github.com/grblHAL/ESP32/commit/f91fe73a730cd7a15f173915c422f654a17bd5f5 and may be more
if I compile with WiFi enabled but
OPTION(SDcard "SD Card Streaming" OFF)
(I forget to enable it)compilation still failed if
OPTION(SDcard "SD Card Streaming" ON)
due to authentication ifOPTION(WebAuth "WebUI authentication" OFF)
which should be solved in backend.c by adding compilation directives :
but unfortunatly
if
OPTION(WebAuth "WebUI authentication" ON)
there are another issuessorry I did not digged more - let me know if you want me to - but I get you will be faster than me as I am not yet familliar with your code, may be a missing commit ?
I enclose my config File for reference CMakeLists.txt