Skip to content
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

Open
StefanL38 opened this issue Feb 20, 2024 · 2 comments
Open

compiler errors when trying to compile complete example #293

StefanL38 opened this issue Feb 20, 2024 · 2 comments
Labels

Comments

@StefanL38
Copy link

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

@MartinMueller2003
Copy link
Collaborator

If you are using the Arduino IDE, you can set that option in one of the dropdowns.

@MartinMueller2003
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants