ESP-WHO Examples Error
ESP-WHO Examples Error
Hello, I want to do image processing projects with ESP-EYE microcontroller. I installed the ESP-IDF environment on VS Code with the Espressif IDF plugin. Then I cloned the ESP-WHO library to the directory where the ESP-IDF folder is located, via git. However, when I try to open the face-recognition-solution project in the examples folder in the ESP-WHO library, I get many errors about the libraries not being defined. If there is an extra setting that I need to do or a part that I have made wrong, I would be very happy if you could help me with this. I have added the screens of the files related to the settings below.
- Attachments
-
- Screenshot_3.png (15.44 KiB) Viewed 24345 times
-
- Screenshot_2.png (22.39 KiB) Viewed 24345 times
-
- Screenshot_1.png (24.42 KiB) Viewed 24345 times
Re: ESP-WHO Examples Error
Which libraries are missing? could you attach your error log?
Re: ESP-WHO Examples Error
When I build the project, the following errors appear in the terminal. But it says the project was successfully built. I also added the problems that appear in the vs code section as a picture.
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:278:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret = 0;
^~~
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c: In function 'set_brightness':
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:685:10: warning: variable 'negative' set but not used [-Wunused-but-set-variable]
bool negative = false;
^~~~~~~~
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c: In function 'set_contrast':
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:733:10: warning: unused variable 'negative' [-Wunused-variable]
bool negative = false;
^~~~~~~~
At top level:
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:147:12: warning: 'calc_sysclk' defined but not used [-Wunused-function]
static int calc_sysclk(int xclk, bool pll_bypass, int pll_multiplier, int pll_sys_div, int pll_pre_div, bool pll_root_2x, int pll_seld5, bool pclk_manual, int pclk_div)
^~~~~~~~~~~
[1005/1019] Building CXX object esp-idf/esp32-camera/CMakeFiles/__idf_esp32-camera.dir/conversions/to_jpg.cpp.obj
[1006/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_camera.c.obj
[1007/1019] Linking C static library esp-idf\fb_gfx\libfb_gfx.a
[1008/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_main.c.obj
[1009/1019] Linking C static library esp-idf\esp-face\libesp-face.a
[1010/1019] Linking C static library esp-idf\esp32-camera\libesp32-camera.a
[1011/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_httpserver.c.obj
[1012/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_speech_recsrc.c.obj
../main/app_speech_recsrc.c: In function 'i2s_init':
../main/app_speech_recsrc.c:27:9: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
.communication_format = I2S_COMM_FORMAT_I2S,
^
In file included from C:/Users/Bedirhan/esp/esp-idf/components/hal/esp32/include/hal/i2s_ll.h:30,
from C:/Users/Bedirhan/esp/esp-idf/components/hal/include/hal/i2s_hal.h:28,
from C:/Users/Bedirhan/esp/esp-idf/components/driver/include/driver/i2s.h:24,
from ../main/app_speech_recsrc.c:13:
C:/Users/Bedirhan/esp/esp-idf/components/hal/include/hal/i2s_types.h:70:5: note: declared here
I2S_COMM_FORMAT_I2S __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
^~~~~~~~~~~~~~~~~~~
[1013/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_speech_wakeup.c.obj
[1014/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_wifi.c.obj
In file included from ../main/app_wifi.c:28:
C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c: In function 'event_handler':
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:334:137: note: in definition of macro 'ESP_LOG_LEVEL'
if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:335:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:336:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_DEBUG ) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:337:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_VERBOSE ) { esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:338:137: note: in definition of macro 'ESP_LOG_LEVEL'
else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
../main/app_wifi.c: In function 'wifi_init_softap':
../main/app_wifi.c:79:5: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
tcpip_adapter_init();
^~~~~~~~~~~~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
void tcpip_adapter_init(void) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~
../main/app_wifi.c:94:5: warning: 'esp_event_loop_init' is deprecated [-Wdeprecated-declarations]
ESP_ERROR_CHECK(esp_event_loop_init(event_handler, NULL));
^~~~~~~~~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:240:11: note: declared here
esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:278:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int ret = 0;
^~~
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c: In function 'set_brightness':
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:685:10: warning: variable 'negative' set but not used [-Wunused-but-set-variable]
bool negative = false;
^~~~~~~~
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c: In function 'set_contrast':
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:733:10: warning: unused variable 'negative' [-Wunused-variable]
bool negative = false;
^~~~~~~~
At top level:
C:/Users/Bedirhan/esp/esp-who/components/esp32-camera/sensors/nt99141.c:147:12: warning: 'calc_sysclk' defined but not used [-Wunused-function]
static int calc_sysclk(int xclk, bool pll_bypass, int pll_multiplier, int pll_sys_div, int pll_pre_div, bool pll_root_2x, int pll_seld5, bool pclk_manual, int pclk_div)
^~~~~~~~~~~
[1005/1019] Building CXX object esp-idf/esp32-camera/CMakeFiles/__idf_esp32-camera.dir/conversions/to_jpg.cpp.obj
[1006/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_camera.c.obj
[1007/1019] Linking C static library esp-idf\fb_gfx\libfb_gfx.a
[1008/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_main.c.obj
[1009/1019] Linking C static library esp-idf\esp-face\libesp-face.a
[1010/1019] Linking C static library esp-idf\esp32-camera\libesp32-camera.a
[1011/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_httpserver.c.obj
[1012/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_speech_recsrc.c.obj
../main/app_speech_recsrc.c: In function 'i2s_init':
../main/app_speech_recsrc.c:27:9: warning: 'I2S_COMM_FORMAT_I2S' is deprecated [-Wdeprecated-declarations]
.communication_format = I2S_COMM_FORMAT_I2S,
^
In file included from C:/Users/Bedirhan/esp/esp-idf/components/hal/esp32/include/hal/i2s_ll.h:30,
from C:/Users/Bedirhan/esp/esp-idf/components/hal/include/hal/i2s_hal.h:28,
from C:/Users/Bedirhan/esp/esp-idf/components/driver/include/driver/i2s.h:24,
from ../main/app_speech_recsrc.c:13:
C:/Users/Bedirhan/esp/esp-idf/components/hal/include/hal/i2s_types.h:70:5: note: declared here
I2S_COMM_FORMAT_I2S __attribute__((deprecated)) = 0x01, /*!< I2S communication format I2S, correspond to `I2S_COMM_FORMAT_STAND_I2S`*/
^~~~~~~~~~~~~~~~~~~
[1013/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_speech_wakeup.c.obj
[1014/1019] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/app_wifi.c.obj
In file included from ../main/app_wifi.c:28:
C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_loop.h:2:2: warning: #warning "esp_event_loop.h is deprecated, please include esp_event.h instead" [-Wcpp]
#warning "esp_event_loop.h is deprecated, please include esp_event.h instead"
^~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c: In function 'event_handler':
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:334:137: note: in definition of macro 'ESP_LOG_LEVEL'
if (level==ESP_LOG_ERROR ) { esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:335:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_WARN ) { esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:336:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_DEBUG ) { esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:337:137: note: in definition of macro 'ESP_LOG_LEVEL'
else if (level==ESP_LOG_VERBOSE ) { esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
In file included from ../main/app_wifi.c:29:
../main/app_wifi.c:54:31: warning: passing argument 1 of 'ip4addr_ntoa' from incompatible pointer type [-Wincompatible-pointer-types]
ip4addr_ntoa(&event->event_info.got_ip.ip_info.ip));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:338:137: note: in definition of macro 'ESP_LOG_LEVEL'
else { esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), esp_log_timestamp(), tag, ##__VA_ARGS__); } \
^~~~~~~~~~~
C:/Users/Bedirhan/esp/esp-idf/components/log/include/esp_log.h:301:38: note: in expansion of macro 'ESP_LOG_LEVEL_LOCAL'
#define ESP_LOGI( tag, format, ... ) ESP_LOG_LEVEL_LOCAL(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
^~~~~~~~~~~~~~~~~~~
../main/app_wifi.c:53:9: note: in expansion of macro 'ESP_LOGI'
ESP_LOGI(TAG, "got ip:%s",
^~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip_addr.h:43,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter_types.h:18,
from C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:24,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/lwip/lwip/src/include/lwip/ip4_addr.h:207:7: note: expected 'const ip4_addr_t *' {aka 'const struct ip4_addr *'} but argument is of type 'esp_ip4_addr_t *' {aka 'struct esp_ip4_addr *'}
char *ip4addr_ntoa(const ip4_addr_t *addr);
^~~~~~~~~~~~
../main/app_wifi.c: In function 'wifi_init_softap':
../main/app_wifi.c:79:5: warning: 'tcpip_adapter_init' is deprecated [-Wdeprecated-declarations]
tcpip_adapter_init();
^~~~~~~~~~~~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/esp_netif/include/esp_netif.h:35,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:22,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/tcpip_adapter/include/tcpip_adapter.h:34:6: note: declared here
void tcpip_adapter_init(void) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~
../main/app_wifi.c:94:5: warning: 'esp_event_loop_init' is deprecated [-Wdeprecated-declarations]
ESP_ERROR_CHECK(esp_event_loop_init(event_handler, NULL));
^~~~~~~~~~~~~~~
In file included from C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event.h:26,
from C:/Users/Bedirhan/esp/esp-idf/components/esp_wifi/include/esp_wifi.h:64,
from ../main/app_wifi.c:27:
C:/Users/Bedirhan/esp/esp-idf/components/esp_event/include/esp_event_legacy.h:240:11: note: declared here
esp_err_t esp_event_loop_init(system_event_cb_t cb, void *ctx) __attribute__ ((deprecated));
^~~~~~~~~~~~~~~~~~~
- Attachments
-
- Screenshot_1.png (58.68 KiB) Viewed 24287 times
Who is online
Users browsing this forum: No registered users and 10 guests