Skip to content

library.properties file - could have an automated check for "include=" field #250

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

Closed
RobTillaart opened this issue Dec 20, 2020 · 1 comment

Comments

@RobTillaart
Copy link

Description
The library.properties file is used in the CI system.

Today I had a typo (case mismatch) in the field: includes=DHT.h which should be includes=dht.h
It took a while to find the root cause as the error message just said "#include <dht.h> not found.
The very same sketch compiled perfect in the IDE for years so that made me wonder.

Solutions

  1. a better error message why the #include is not found, e.g. what is expected.
  2. a script that verifies the fields of the library.properties file.
    All mandatory fields are available and correct?
  3. document this problem in an FAQ for known error messages
  4. ...
@ianfixes
Copy link
Collaborator

This seems like a duplicate of #237 , should this just be a comment on that issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants