Page 1 of 1

esp_http_server.h not found in project, but found in example

Posted: Wed Sep 18, 2019 11:21 am
by jaimea
Hello,

I'm surely missing something obvious but this is driving me mad.

I have a project, with a component dir full of files, compiling, working, wifi, udp, everything ok.
When I try to add http server support, whatever I do it never finds "esp_http_server.h".

If, however, I copy the protocols/http_server/simple example and compile it, there is no problem.

I can't find anything I should add to CMakeLists.txt or anywhere else.

Any clue, please?

ESP-IDF v4.0-dev-1275-gfdab15dc7

(I have had to copy esp_http_server.h and another file to local to make this compile)

Thanks in advance,

jaime