Hi all,
I am creating a custom component with references to esp-idf headers such as this:
#include "esp_http_client.h"
But I continue to get the following error when I compile:
fatal error: esp_http_client.h: No such file or directory
Any tips/pointers would be greatly appreciated.
Thanks,
Ambrose
Custom Component - referencing esp-idf component headers
Re: Custom Component - referencing esp-idf component headers
Hi Ambrose,
Are you creating a component using the new CMake build system? In the CMake-based build system, components need to specifically name which other components they depend on - so in this case the component needs to say that it REQUIRES esp_http_client component.
See here for full details:
https://docs.espressif.com/projects/esp ... quirements
Are you creating a component using the new CMake build system? In the CMake-based build system, components need to specifically name which other components they depend on - so in this case the component needs to say that it REQUIRES esp_http_client component.
See here for full details:
https://docs.espressif.com/projects/esp ... quirements
Re: Custom Component - referencing esp-idf component headers
I've added PRIV_REQUIRES mbedtls lwip esp-tls tcp_transport spiffs, should I be adding esp_http_client to here as well?
Who is online
Users browsing this forum: No registered users and 83 guests