[GH-ISSUE #1792] issue compiling WiFiManager libary on esp32 #1508

Open
opened 2026-02-28 01:30:20 +03:00 by kerem · 1 comment
Owner

Originally created by @jaaptesla on GitHub (Jan 20, 2025).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1792

.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:1:10: fatal error: WiFiManager.h: No such file or directory



#include <WiFiManager.h>
^~~~~~~~~~~~~~~
compilation terminated.
*** [.pio\build\esp32c3\FrameworkArduino\main.cpp.o] Error 1

it worked fine untill today.. for some reason it cannot find the headerfile.

when i do ctrl+click it takes me straight to the file :
C:\Users\jaap.pio\libdeps\esp32c3\WiFiManager\WiFiManager.h

Originally created by @jaaptesla on GitHub (Jan 20, 2025). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1792 .platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:1:10: fatal error: WiFiManager.h: No such file or directory ********************************************************************* * Looking for WiFiManager.h dependency? Check our library registry! * * CLI > platformio lib search "header:WiFiManager.h" * Web > https://registry.platformio.org/search?q=header:WiFiManager.h * ********************************************************************* #include <WiFiManager.h> ^~~~~~~~~~~~~~~ compilation terminated. *** [.pio\build\esp32c3\FrameworkArduino\main.cpp.o] Error 1 it worked fine untill today.. for some reason it cannot find the headerfile. when i do ctrl+click it takes me straight to the file : C:\Users\jaap\.pio\libdeps\esp32c3\WiFiManager\WiFiManager.h
Author
Owner

@jaaptesla commented on GitHub (Jan 20, 2025):

fixed it :
/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:1:10: fatal error: WiFiManager.h: No such file or directory

i deleted folder /framework-arduinoespressif32

Visual studio then installed the folder again
Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20017.0
Unpacking [####################################] 100%
Tool Manager: framework-arduinoespressif32@3.20017.241212+sha.dcc1105b has been installed!

and now no errors anymore

<!-- gh-comment-id:2602391015 --> @jaaptesla commented on GitHub (Jan 20, 2025): fixed it : /.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:1:10: fatal error: WiFiManager.h: No such file or directory i deleted folder /framework-arduinoespressif32 Visual studio then installed the folder again Tool Manager: Installing platformio/framework-arduinoespressif32 @ ~3.20017.0 Unpacking [####################################] 100% Tool Manager: framework-arduinoespressif32@3.20017.241212+sha.dcc1105b has been installed! and now no errors anymore
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1508
No description provided.