GANESH-ICMC / esp32-deauther

180 stars 19 forks source link

error: 'tcpip_adapter_init' was not declared in this scope #16

Open Jirka5091 opened 1 year ago

Jirka5091 commented 1 year ago

``Hello, I just have a question. When I'm trying build this project this error appears. Am I just stupid and I missed something important or is this a bug.

Thanks for any help,

BTW this is the whole error:

`C:/Users/lachk/Desktop/esp32-deauther-master/main/main.cpp: In function 'void app_main()':
C:/Users/lachk/Desktop/esp32-deauther-master/main/main.cpp:44:5: error: 'tcpip_adapter_init' was not declared in this scope
   44 |     tcpip_adapter_init();`
eobarretooo commented 1 year ago

swap this line tcpip_adapter_init(); by esp_netif_init();