Can't compile some esp32 boards i.e. ESP32-CAM

Trying to compile the example sketch esp32-cam-webserver.ino and fails with error:esp_int_wdt.h: No such file.
As of today I have removed the complete esp32 boards platform and re-installed from scratch. The Boards Manager URL is: 'https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json' which I believe is the correct one.
I realize those WDT files should not be included and that should have been rectified when I removed and re-installed the ESP32 boards platform 3.10.
I have had other examples fail. Any explanation why the examples are not updated when the platform is updated??

Here is the official boards URL, but your problem is you have not installed some libraries.
https://espressif.github.io/arduino-esp32/package_esp32_index.json

Indeed, the URL changed some time ago.

https://docs.espressif.com/projects/arduino-esp32/en/latest/installing.html

Curiously Espressif changed the link URL at the top but forgot to update the second screenshot....

I copied the new url into ide preferences and watched it update but the esp32 camera sketch does not show up in the ide examples. I located the sketch by doing a file search in the arduino15 libraries folder so the files are there but the library examples do not show in my IDE. Is there a way to refresh the IDE library examples?

Make sure that you have the ESP32 board selected in board manager.

I found it under ESP32->Camera->CameraWebServer

"ESP32 DEV Module" also works. Be sure to set the Partition Scheme to "Huge App 3MB No OAT/1MB SPIFFS"

I have done that. My other point is the size of the examples menu and the boards menu. Having to scroll through so many items to locate one is archaic. I read somewhere that the new IDE had a different menu system. Is there something wrong with mine? Can it be rebuilt? I like the new IDE but the menus could be like a structure of folders such as one for Adafruit, which has a humongous number of items and another sub-menu for ESP32. If this is not available now, maybe it should be looked into for a future release.
Thanks for the help and Merry Christmas.
Blaine

Well, I did get some resolution on the Examples menu:
Close Arduino IDE, in Windows File Explorer go to C:\Users"userName"\AppData\Roaming and delete folder arduino-ide (lower case as there may be two, the other in upper case). Now, open Arduino IDE and check examples menu and you will find items have been sorted alphabetically which makes it somewhat easier to find an example sketch. I was able to find the previously missing ESP32>Camera>CameraWebServer sketch.
Still, a the best idea would be to have separate folders for examples for i.e. ESP32, Adafruit, etc. Maybe in a future edition of the IDE.

This doesn't seem at all relevant to the stated topic of your post.

The problem, under the original examples folder I found an ESP32 Cam-Webserver sketch which would not compile. I could not find, even after updating the boards URL, the ESP32>Camera>CameraWebServer sketch. After deleting the arduino-ide folder and opening the IDE the CameraWebServer sketch showed up.
The offshoot about the menu structure was an idea that came to me while I was trying to find that sketch.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.