-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler errors when trying to compile complete example #293
Comments
If you are using the Arduino IDE, you can set that option in one of the dropdowns. |
It looks like it is handled for ESP32 builds. You will need to manually define DEBUG_ESP_OOM as 0 or 1 in the .ino file. This should not be permanently added to the code since it is very platform dependent. |
Hello how can i do it , please may you tell me ; "You will need to manually define DEBUG_ESP_OOM as 0 or 1 in the .ino file." |
Sorry, but I am not an Arduino user. I do all of my work on PlatformIO IDE. |
loaded the complete example demo-code
C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPUI\examples\completeExample\completeExample.ino
and get these compiler-errors
completeExample.cpp:40:2: error: #error on ESP8266 and ESPUI, you must define OOM debug option when developping
40 | #error on ESP8266 and ESPUI, you must define OOM debug option when developping
Multiple libraries were found for "ESPUI.h"
Used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPUI
Not used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPUI-old
Multiple libraries were found for "ArduinoOTA.h"
Used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\ArduinoOTA
Not used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ArduinoOTA
Multiple libraries were found for "LittleFS.h"
Used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS
Not used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\esp_littlefs
Multiple libraries were found for "ESPAsyncWebServer.h"
Used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPAsyncWebServer
Not used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPAsyncWebServer-master
Multiple libraries were found for "Hash.h"
Used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\Hash
Not used: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\AsyncElegantOTA
Using library EEPROM at version 1.0 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\EEPROM
Using library ESPUI at version 2.2.3 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPUI
Using library ArduinoJson at version 6.21.3 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ArduinoJson
Using library LittleFS at version 0.1.0 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\LittleFS
Using library ESPAsyncWebServer at version 1.2.3 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPAsyncWebServer
Using library ESP8266WiFi at version 1.0 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266WiFi
Using library ESPAsyncTCP at version 1.2.2 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\sketchbook\libraries\ESPAsyncTCP
Using library Hash at version 1.0 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\Hash
Using library ArduinoOTA at version 1.0 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\ArduinoOTA
Using library ESP8266mDNS at version 1.2 in folder: C:\Arduino-Pure-Portable\arduino-1.8.19\portable\packages\esp8266\hardware\esp8266\3.1.2\libraries\ESP8266mDNS
exit status 1
#error on ESP8266 and ESPUI, you must define OOM debug option when developping
The text was updated successfully, but these errors were encountered: