Missing library Error message does not appear as useful in BETA IDE

When I am missing a library, and verify code, the Arduino IDE 1.8.13 shows this error message:

Arduino_Marino_v6_a:8:10: fatal error: RTClib.h: No such file or directory
** #include <RTClib.h>**
** ^~~~~~~~~~**
compilation terminated.
exit status 1
RTClib.h: No such file or directory

Notice the last line, which is extremely useful for me to realize "Hey, you forgot to install the library!" This is just the standard output (not on verbose output).

When I run the same code on the Arduino IDE 2.0.0 - Beta 5

This is the error message I get:

Compilation error: Error: 2 UNKNOWN: exit status 1

Unless I set the error output to verbose mode, I loose the blaring indication about the missing library being the issue.

Not sure if this is useful feedback, but I just wanted to post this for the Arduino IDE developers to see if that more meaningful error message could be rolled into the Arduino IDE Beta.


Hi @M_James_O. Thanks for your valuable feedback.

I agree that this is a serious problem. The issue is being tracked here:

1 Like