we should build this project without esp_https_server component of idf in Cmake of spotifyInterface and change it to esp_http_server.
idf_component_register(SRCS "SpotifyAPICall.c" "JsonExtraction.c" "SpotifyInterface.c"
"SpotifyHttpLocalServer.c"
INCLUDE_DIRS "include"
REQUIRES mdns esp_wifi esp_event esp_eth protocol_examples_common
esp_http_server esp_http_client nvs_flash json
GlobalInit esp_psram heap)
and changed its name of header in SpotifyTypedef.h:
#include <esp_https_server.h --> #include <esp_http_server.h>
we should build this project without esp_https_server component of idf in Cmake of spotifyInterface and change it to esp_http_server.
idf_component_register(SRCS "SpotifyAPICall.c" "JsonExtraction.c" "SpotifyInterface.c"
"SpotifyHttpLocalServer.c"
INCLUDE_DIRS "include"
REQUIRES mdns esp_wifi esp_event esp_eth protocol_examples_common
esp_http_server esp_http_client nvs_flash json
GlobalInit esp_psram heap)
and changed its name of header in SpotifyTypedef.h:
#include <esp_https_server.h --> #include <esp_http_server.h>