Crazy Architecture warning. How to fix

Hi, trying to compile an ESP32 Webserver example GitHub - Pedroalbuquerque/ESP32WebServer: Copy of Ivan Webserver implementation for ESP32

WARNING: library ESP32WebServer-master claims to run on (ESP32) architecture(s) and may be incompatible with your current board which runs on (esp32) architecture(s).

The warning makes no sense to my tired old brain. It may be a Linux thing as one is in Caps and the other not. But looking in the Arduino Examples, the esp32webserver Library is flagged a "incompatible." How can I fix this? I know it is only a warning and should upload, but I'd like to correct it anyway.

Thanks

This issue should be referred to the maintainer of the library - architecture names (as far as the IDE are concerned) are case sensitive, and he got the case wrong.

It's in library.properties in the library folder if you want to fix it for yourself, but you should make sure the maintainer of that library is aware so it can be corrected.

I have submitted a pull request for this fix to the repository:

Thanks to you both. I did try to find it and no idea why the text search didn't find it in the properties file. But, I have changed the case (architectures=esp32) but a compile still shows the error and in Upper case. Does the IDE save it's own version somewhere?

Do this:

  • File > Examples > ESP32WebServer > esp32webserver1
  • Sketch > Show Sketch Folder
  • Navigate up two folder levels. In this folder you will find the library.properties file you need to edit.

pert:
File > Examples > ESP32WebServer > esp32webserver1
Sketch > Show Sketch Folder

OK, thanks that fixed it.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

This helped me also, Thanks.