-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Thanks a lot for excellent library.
It works fine on ESP32, no compiler error.
Because something wrong on my PC, I did fresh install Windows 10 and Arduino IDE 1.8.8.
But after fresh install, ESP32 Ping doesn't work anymore.
Arduino IDE Compiler error in Ping.cpp line:
inet_addr_from_ipaddr(&to.sin_addr, addr);
The error message: 'inet_addr_to_ipaddr' was not declared in this scope
It seems this error cause by broken lwip library.
ESP32 Ping use 2 separate lwip libraries (Arduino library in C:\Program Files (x86)\Arduino and ESP32 library in C:\Users\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.1\tools\sdk\include\lwip\lwip folder).
But somehow the library connection is broken and cause 'inet_addr_to_ipaddr' was not declared in this scope error
Instead using Board Manager to install ESP32 package, also tried install ESP32 package by using git, but didn't help either. Still 'inet_addr_to_ipaddr' was not declared in this scope error
How to fix this error?
Please help...