esp32-spi-message-demo icon indicating copy to clipboard operation
esp32-spi-message-demo copied to clipboard

Cannot build due to '#include "esp_wifi.h" issues

Open stevendae opened this issue 2 years ago • 1 comments

I am trying to build the jpeg_webserver_demo example however when I go to build and flash the example my compilation fails because the following error message:

/home/pi/Dev/esp32-spi-message-demo/components/depthai-spi-api/common/esp32_spi_impl.h:18:10: fatal error: esp_wifi.h: No such file or directory 18 | #include "esp_wifi.h" | ^~~~~~~~~~~~ compilation terminated.

I just did a fresh installation following the ESP-IDF installation instructions but I cannot build the example.

stevendae avatar Mar 08 '23 19:03 stevendae

Hi @stevendae , My suggestion would be to make sure you have activated the ESP-IDF environment, and to have correct ESP-IDF installed (as mentioned in the readme). Please also note this repo/demos are community-supported only. Thanks, Erik

Erol444 avatar Mar 10 '23 10:03 Erol444