easytarget / esp32-cam-webserver

Expanded version of the Espressif ESP webcam
https://hackaday.io/project/168563-7-esp32-cam-example-expanded
GNU Lesser General Public License v2.1
1.26k stars 341 forks source link

exit status 1 esp_int_wdt.h: No such file or directory #313

Open lohtse opened 5 months ago

lohtse commented 5 months ago

why am I getting????

exit status 1 esp_int_wdt.h: No such file or directory

Any help would be awesome please

tsys83 commented 3 months ago

please refer to https://forum.arduino.cc/t/esp32-cam-cant-compile-a-project-from-github/1220008

The Interrupt Watchdog API (functions/types/macros prefixed with esp_intwdt) has been made into a private API. Thus, the previous include path #include "esp_int_wdt.h" has been removed. If users still require usage of the Interrupt Watchdog API (though this is not recommended), it can be included via #include "esp_private/esp_int_wdt.h".

killamilla0815 commented 2 months ago

Doesn't work for me: tried to compile with latest Arduino IDE 2.3.2 plus old legacy version 1.8.19 always ends up in a ton of warnings and errors. Finally this project seems be dead, which is really sad.

Finally, the only reason for me to try this version was the internal flash LED, cannot find a way to make it working with the default WebCameraServer for the AIThinker ESP32 CAM board. Anyone has a clue how to access the LED directly from the web-UI there ?

Thanks.

snafu1282 commented 1 week ago

I, too, am getting the 'wdt' errors. Adding _esp_private/ in front does nothing. I wouldn't expect it to since there is no folder called esp_private.

While I have a ton of programming experience, very little of it is with Arduino, so I'm in the weeds a bit. Also, yeah, I made the mistake of ignoring Captain America's advice: i.e. I clicked the update button. That's when the issue started. I got 2 esp32cam's configured and working, but clicking update screwed any attempt to program a third one.

It's a shame too because I really like the interface much better than the default one.

I guess my real question is where were the the watchdog files previously; built right into the core? If so, my attempts to revert to ver 2.0.0 didn't seem to help. Anyone got ideas of how to fix it?

lohtse commented 1 week ago

I, too, am getting the 'wdt' errors. Adding _esp_private/ in front does nothing. I wouldn't expect it to since there is no folder called esp_private.

While I have a ton of programming experience, very little of it is with Arduino, so I'm in the weeds a bit. Also, yeah, I made the mistake of ignoring Captain America's advice: i.e. I clicked the update button. That's when the issue started. I got 2 esp32cam's configured and working, but clicking update screwed any attempt to program a third one.

It's a shame too because I really like the interface much better than the default one.

I guess my real question is where were the the watchdog files previously; built right into the core? If so, my attempts to revert to ver 2.0.0 didn't seem to help. Anyone got ideas of how to fix it?

best solution I found was here https://matchboxscope.github.io/firmware/FLASH.html flash either the top left or top middle via the connect button and all is working well with extra options too

https://matchboxscope.github.io/firmware/FLASH.html

snafu1282 commented 5 days ago

I, too, am getting the 'wdt' errors. Adding _esp_private/ in front does nothing. I wouldn't expect it to since there is no folder called esp_private. While I have a ton of programming experience, very little of it is with Arduino, so I'm in the weeds a bit. Also, yeah, I made the mistake of ignoring Captain America's advice: i.e. I clicked the update button. That's when the issue started. I got 2 esp32cam's configured and working, but clicking update screwed any attempt to program a third one. It's a shame too because I really like the interface much better than the default one. I guess my real question is where were the the watchdog files previously; built right into the core? If so, my attempts to revert to ver 2.0.0 didn't seem to help. Anyone got ideas of how to fix it?

best solution I found was here https://matchboxscope.github.io/firmware/FLASH.html flash either the top left or top middle via the connect button and all is working well with extra options too

https://matchboxscope.github.io/firmware/FLASH.html

Thanks @lohtse. I will have a look. My real question is "where the heck are the watchdog files now?". Why can't I just download a library of the files and add them to the Arduino installation? It seems a little strange to me. Or is it me. Is there such a library that I can download?

lohtse commented 3 days ago

No worries and happy too help..

As too the real questio... yep I completely understand... I did as the dev instructed yet no joy hence now using the link I provided you...

snafu1282 commented 3 days ago

No worries and happy too help..

As too the real questio... yep I completely understand... I did as the dev instructed yet no joy hence now using the link I provided you...

Thx again, but I did find another solution. Someone in another thread pointed out that the issue is really with the boards definition file. I went to Boards Manager and installed v 2.0.17 of the Espressif esp32 board. That instantly got rid of the missing wdt errors.

lohtse commented 3 days ago

No worries and happy too help.. As too the real questio... yep I completely understand... I did as the dev instructed yet no joy hence now using the link I provided you...

Thx again, but I did find another solution. Someone in another thread pointed out that the issue is really with the boards definition file. I went to Boards Manager and installed v 2.0.17 of the Espressif esp32 board. That instantly got rid of the missing wdt errors.

I had done that sometime ago and always failed... But thank you for the suggestion..