https://imgur.com/a/9cJj2al
https://pastebin.com/F0vaXr0q
I have run into a problem making a change in one of my ESP32 servers that I built from your server course some time ago. I need your help in fixing this issue. This issue occurred as I was trying to compile the code to create a new .bin fie. Keep in mind that this code has been working fine for a couple of years. I had to make a change in the I/P address and when I went to create the new .bin file I got this error. I am not sure if it is telling me that I need to add some code or is there a file missing? I have never seen the term <cmath>
Regards,
Charles
Hi.
Do you use cmath in any of the files you have for your project?
Which board are you selecting when compiling the code?
Regards,
Sara
Sara, This is the first time I heard of cmath. I have to say that if I do use it, I sure do not know about it. The board I have selected is the “nodemcu-32s”. That board name is specified in all the .bin files that I created previously.
Regards
Charles
Hi again.
I believe that’s something broken with your Arduino IDE or ESP32 boards installation,
On your computer, go to this directory: C:/Users/merke/AppData/Local/Arduino15/packages/esp32/
Delete the esp32 folder under the packages folder.
Then, install the ESP32 boards again: https://randomnerdtutorials.com/installing-esp32-arduino-ide-2-0/
Regards,
Sara
Sara, The problem turned out to be with one of the library files that is in the #include section of the sketch. I found one that would not update automatically and I had to go to the library and delete it and then install the latest version. One problem solved and I am working on another one. When I formulate an intelligent question, I will post it here. we can mark this one solved.
Regards,
Charles