Description
What I did was install Arduino IDE 2.3.2 and installed the esp8266 by ESP8266 Communuty package.
Then I installed the library and loaded the example file and compiled it, but the following error occurred.
AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.1.2/tools/sdk/lwip2/include/lwip/ip4_addr.h:63: warning: "IPADDR_NONE" redefined
modbus-esp8266\src/ModbusTCPTemplate.h:15: note: this is the location of the previous definition
15 | #define IPADDR_NONE ((uint32_t)0xffffffffUL)
modbus-esp8266\src/ModbusTCPTemplate.h:17:1: error: 'Callback' does not name a type; did you mean 'TCallback'?
modbus-esp8266\src/ModbusTCPTemplate.h:20:23: error: 'IPAddress' was not declared in this scope; did you mean 'TAddress'?
I've encountered many similar types of errors.
What's wrong?