abobija / esp-discord

Library for hosting Discord Bots :robot: on the ESP32
https://components.espressif.com/components/abobija/esp-discord
MIT License
50 stars 5 forks source link

error: esp_event.h: No such file or directory #5

Closed dajewiss closed 1 week ago

dajewiss commented 1 year ago

Hi there

I'm using idf v5.0.1 esp_websocket_client (1.0.0)

I am getting a complier error-

In file included from D:/Projects/discord-test/discord-test/components/esp-discord/include/discord/private/_models.h:5, from D:/Projects/discord-test/discord-test/components/esp-discord/include/discord/private/_json.h:5, from D:/Projects/discord-test/discord-test/components/esp-discord/src/discord/private/_json.c:1: D:/Projects/discord-test/discord-test/components/esp-discord/include/discord.h:5:10: fatal error: esp_event.h: No such file or directory 5 | #include "esp_event.h"

But the project has this file in- D:/Projects/discord-test/discord-test/components/components/esp_event/include/esp_event.h

mstcgalis commented 1 year ago

hello, i have the same error, did you manage to solve it? :)

mstcgalis commented 1 year ago

I just got a successful build by switching to ESP-IDF v4.4.4

abobija commented 1 month ago

7