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

Still problems compiling in Arduino IDE... part2 #24

Open
menotuu opened this issue Aug 15, 2024 · 0 comments
Open

Still problems compiling in Arduino IDE... part2 #24

menotuu opened this issue Aug 15, 2024 · 0 comments

Comments

@menotuu
Copy link

menotuu commented Aug 15, 2024

Arduino IDE 2.3.2 + espressif esp32 v3.0.3 lib + WifiManager v2.0.16rc2 lib

compiling errors, don't know how to solve these:

In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion\wifi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion\ESP32CameraWifiMotion.ino:186:
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:21:68: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
21 | #include <Arduino.h> // required by PlatformIO
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:62:26: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
62 | #include <esp_wifi.h>
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
63 | #include <WiFi.h>
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:64:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
64 | #include <WiFiClient.h>
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:66:120: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
66 | #include <WebServer.h> // https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:67:35: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
67 | #include <HTTPClient.h>
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:86:82: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
86 | #include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:90:23: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
90 | #include <TimeLib.h>
| ^
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:91:108: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
91 | #include <WiFiUdp.h> // UDP library which is how we communicate with Time Server
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:64:
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WiFi\src/WiFiClient.h:2:27: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
2 | #include "NetworkClient.h"
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:66:
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:26:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
26 | #include
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:27:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
27 | #include
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:28:16: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
28 | #include "FS.h"
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:29:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
29 | #include "Network.h"
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:30:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
30 | #include "HTTP_Method.h"
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:31:17: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
31 | #include "Uri.h"
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WebServer\src/WebServer.h:95:35: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
95 | #include "detail/RequestHandler.h"
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:67:
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\HTTPClient\src/HTTPClient.h:34:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
34 | #include
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\HTTPClient\src/HTTPClient.h:35:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
35 | #include <Arduino.h>
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\HTTPClient\src/HTTPClient.h:36:27: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
36 | #include <NetworkClient.h>
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\HTTPClient\src/HTTPClient.h:38:33: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
38 | #include <NetworkClientSecure.h>
| ^
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\HTTPClient\src/HTTPClient.h:42:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
42 | #include
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:86:
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:23:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
23 | #include
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:85:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
85 | #include <WiFi.h>
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:86:28: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
86 | #include <esp_wifi.h>
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:87:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
87 | #include <Update.h>
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:132:23: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
132 | #include <DNSServer.h>
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:133:18: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
133 | #include
| ^
d:\Downloads\Arduino\Arduino_2\sketches\libraries\WiFiManager/WiFiManager.h:141:25: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
141 | #include WM_STRINGS_FILE
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:90:
C:\Users\Packy\AppData\Local\Arduino15\libraries\Time/TimeLib.h:14:22: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
14 | #include <inttypes.h>
| ^
C:\Users\Packy\AppData\Local\Arduino15\libraries\Time/TimeLib.h:16:79: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
16 | #include <sys/types.h> // for __time_t_defined, but avr libc lacks sys/types.h
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:91:
C:\Users\Packy\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.3\libraries\WiFi\src/WiFiUdp.h:2:24: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
2 | #include "NetworkUdp.h"
| ^
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/ESP_Mail_Client.h:62,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion\email.h:48,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion\ESP32CameraWifiMotion.ino:214:
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
21 | #include <Arduino.h> // required by PlatformIO
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:62: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
62 | #include <esp_wifi.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
63 | #include <WiFi.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:64: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
64 | #include <WiFiClient.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:66: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
66 | #include <WebServer.h> // https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:67: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
67 | #include <HTTPClient.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:86: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
86 | #include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:90: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
90 | #include <TimeLib.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:91: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
91 | #include <WiFiUdp.h> // UDP library which is how we communicate with Time Server
|
In file included from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
...
from D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63,
from C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/wcs/esp32/ESP32_WCS.h:56,
from C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/wcs/esp32/ESP32_TCP_Client.h:46,
from C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/ESP_Mail_Client.h:65:
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:21: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
21 | #include <Arduino.h> // required by PlatformIO
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:62: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
62 | #include <esp_wifi.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:63: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
63 | #include <WiFi.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:64: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
64 | #include <WiFiClient.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:66: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
66 | #include <WebServer.h> // https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:67: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
67 | #include <HTTPClient.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:86: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
86 | #include <WiFiManager.h> // https://github.com/tzapu/WiFiManager
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:90: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
90 | #include <TimeLib.h>
|
D:\Downloads\Arduino\Arduino_2\sketches\ESP32CameraWifiMotion/WiFi.h:91: error: #include nested depth 200 exceeds maximum of 200 (use -fmax-include-depth=DEPTH to increase the maximum)
91 | #include <WiFiUdp.h> // UDP library which is how we communicate with Time Server
|
In file included from C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/wcs/esp32/ESP32_WCS.h:58:
C:\Users\Packy\AppData\Local\Arduino15\libraries\ESP Mail Client\src/wcs/esp32/ESP32_SSL_Client.h:36: fatal error: mbedtls/net.h: No such file or directory
36 | #include "mbedtls/net.h"
|
compilation terminated.
exit status 1

Compilation error: exit status 1

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

No branches or pull requests

1 participant