Missing include file causes compile failure with "I don't know whats wrong" type of message

Hi @oktype3tim. Thanks for your valuable feedback. I agree 1000% with your suggestions. The lack of the standard "No such file or directory" error message in this situation was found to be caused by a bug in the Arduino CLI tool the IDE uses under the hood to handle the sketch compilation process. That bug has now been fixed:

That fix is not yet in Arduino IDE 2.x, but it will be in one of the upcoming releases.

The mysterious "Error: 2 UNKNOWN" part of the error message has since been changed to "Error: 13 INTERNAL", which, if anything, is even worse! But there is a proposal now for improving on that situation here:

1 Like