-
-
Notifications
You must be signed in to change notification settings - Fork 7k
adding the path WHERE the compiler was searching for a include-file #11686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @StefanL38. Thanks for your suggestion. The problem is that there are many paths the library discovery system and compiler search for these files. The very nature of the error is such that there is no way to identify a single one of those locations to use in the error message. If they were all added to the error message it would become an unapproachable wall of cryptic text. If you turn on the verbose output during compilation, you can get a general idea of the include search paths. Here you can see that even just the high level parent paths passed to arduino-builder via the
You also have the paths passed to the compiler via
but the library paths in those flags are the ones where a library was discovered, so you won't see all the paths where a library was not discovered. So unfortunately I think it's not feasible to implement that. |
Please read the Issues section of the Contributing Rules at the "Contributing" link to the right before submitting an issue report.
Hello Everybody,
You should add the path where the compiler was searching for an include-file to make it easy for users to find the real cause of an error "No such file or directory"
I wrote the explaining text here:
https://forum.arduino.cc/t/extending-compiler-error-message-no-such-file-or-directory-for-better-guiding-to-the-real-reason/916278
here is additional information
https://forum.arduino.cc/t/how-can-a-library-properties-file-cause-an-error-no-such-file-or-directory/916101
and this documents the pain I had to find the real reason starting at post #15
https://forum.arduino.cc/t/evolved-library-keyboard-emulator-for-german-keyboard-layout-old-title-printing-characters-that-have-a-multibyte-representation-to-a-keyboard-emulator-does-not-work-like-write/914779
best regards Stefan
The text was updated successfully, but these errors were encountered: