maximkulkin / esp-homekit-demo

Demo of Apple HomeKit accessory server library
MIT License
803 stars 233 forks source link

build esp32 button #367

Closed coffice12 closed 4 years ago

coffice12 commented 4 years ago

/Users/tangjunhua/Documents/esp32/esp-homekit-demo/examples/esp32/button/main/main.c:32:21: error: implicit declaration of function 'esp_netif_init'; did you mean 'esp_wifi_init'? [-Werror=implicit-function-declaration] ESP_ERROR_CHECK(esp_netif_init()); ^~~~~~ /Users/tangjunhua/esp-idf/components/esp_common/include/esp_err.h:118:31: note: in definition of macro 'ESP_ERROR_CHECK' esp_err_t __err_rc = (x); \ ^ /Users/tangjunhua/Documents/esp32/esp-homekit-demo/examples/esp32/button/main/main.c:35:5: error: implicit declaration of function 'esp_netif_create_default_wifi_sta' [-Werror=implicit-function-declaration] esp_netif_create_default_wifi_sta();