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

esp_https_server.h: No such file or directory #32

Closed
proddy opened this issue Dec 21, 2023 · 6 comments
Closed

esp_https_server.h: No such file or directory #32

proddy opened this issue Dec 21, 2023 · 6 comments

Comments

@proddy
Copy link

proddy commented Dec 21, 2023

Hi all, has anyone else encountered recent compile issues? Not sure if it was my pio setup (I have removed all folders and re-installed) but recently I'm getting the below compile error why I never had before. It worked yesterday!

In file included from .pio/libdeps/default/PsychicHttp/src/PsychicHttp.cpp:1:
.pio/libdeps/default/PsychicHttp/src/PsychicHttp.h:19:10: fatal error: esp_https_server.h: No such file or directory

Looks like the latest espressif32 (https://github.com/platformio/platform-espressif32.git) doesn't have the HTTPS server enabled anymore?

Also using a fresh example from https://github.com/hoeken/PsychicHttp/tree/master/examples/platformio with

platform = espressif32
framework = arduino
@hoeken
Copy link
Owner

hoeken commented Dec 21, 2023 via email

@proddy
Copy link
Author

proddy commented Dec 21, 2023

fixed it, I had removed and re-installed pio again on my Windows WSL. I think the vscode and local pio environments were conflicting.

@proddy proddy closed this as completed Dec 21, 2023
@proddy
Copy link
Author

proddy commented Dec 21, 2023

for what it's worth, it wasn't the multi-setup but platformio getting mixed up between the espressif libraries. I was switching between platform = https://github.com/Jason2866/platform-espressif32.git#Arduino/IDF5 and platform = https://github.com/platformio/platform-espressif32.git

solution is to use pio package uninstall and let pio find the install the correct packages.

@hoeken
Copy link
Owner

hoeken commented Dec 21, 2023

Have you gotten ESP-IDF v5 working with platformio + arduino? Seems to be some drama between platformio and espressif...

@proddy
Copy link
Author

proddy commented Dec 22, 2023

yes, kind of, I'm using Jason's special library he built for Tasmota for Arduino 3.0/IDF 5.1.(alpha 3):

platform = https://github.com/tasmota/platform-espressif32/releases/download/2023.12.10/platform-espressif32.zip

But it's optimized to remove some libraries that you may need (like wifi_secure, mbedtsl, etc) so won't work for all.

There's an interesting thread over at github.com/platformio/platform-espressif32/issues/ 1238

@T94T
Copy link

T94T commented Apr 30, 2024

Try to set the platform version explicitly in platformio.ini like this platform = espressif32 @ 6.6.0.

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

3 participants