Forums » Req. WJ2(ESP32) support »
fatal error: driver/twai.h: No such file or directory 39 | #include "driver/twai.h"
Added by Eloy Camerccoa 14 days ago
Hello everyone,
I was trying to compile only the CanBus features to the esp32 but it appear this problem:
*fatal error: driver/twai.h: No such file or directory
39 | #include "driver/twai.h"
*
I tried to uninstall and install again, but there is was solve the problem. The license that I have is the free comercial type.



I'd really appreciate your help!
Replies (2)
RE: fatal error: driver/twai.h: No such file or directory 39 | #include "driver/twai.h"
-
Added by Chandima Jayaneththi (จันทิมา) 11 days ago
Hello Eloy,
Thank you for reporting this issue. We will look into it and provide a fix.
In the meantime, could you please try running your CAN Bus Simulink model with Waijung 2 version 24.1a?
To do this:- Uninstall Waijung 2 version 25.4a.
- Download and install Waijung 2 version 24.1a.
- Apply the patch files mentioned here: https://waijung2-doc.aimagin.com/24.1a/patch-files.html
Best regards,
Chandima
RE: fatal error: driver/twai.h: No such file or directory 39 | #include "driver/twai.h"
-
Added by Eloy Camerccoa 11 days ago
Hello Chandima,
Thank you for the response, the problem is solve.
Best regards,
Eloy Ccamerccoa.