c:\Users\Admin\OneDrive\Documents\Arduino\libraries\CAN\src\ESP32SJA1000.cpp:6:10: fatal error: esp_intr.h: No such file or directory
6 | #include "esp_intr.h"
| ^~~~~~~~~~~~
compilation terminated.
exit status 1
Cross-posting is against the Arduino forum rules. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend a lot of time investigating and writing a detailed answer on one topic, without knowing that someone else already did the same in the other topic.
Repeated cross-posting can result in a suspension from the forum.
In the future, please only create one topic for each distinct subject matter. This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.
esp_intr.h is a header file that defines the interrupt types and macros for the ESP32 microcontroller. It includes the ETS_SYS and xtensa_api headers and provides functions to attach, enable and disable interrupt handlers.
Further...
The header file esp_intr.h has been deleted. Please include esp_intr_alloc.h to allocate and manipulate interrupts.