luxonis / esp32-spi-message-demo

ESP32 reference app for interfacing with DepthAI over SPI
MIT License
31 stars 9 forks source link

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

Open stevendae opened 1 year ago

stevendae commented 1 year ago

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.

Erol444 commented 1 year ago

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