Error with WIFI.HPP when compiling Painless_Mesh code

Hi, I have a work-around to the problem.

You'll need to install a lower version of board manager esp32 by espressif. I installed version 2.0.17.

Also, you will need to install a lower version of the library ArduinoJson by Benoit Blanchon. I installed version 6.21.5.

Once you've done that, reinstall the Painless Mesh library to undo any changes you made to the source code.

After that, it should work. Obviously going back to lower versions isn't ideal, but it works.

Take care.

3 Likes