-
Notifications
You must be signed in to change notification settings - Fork 34
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
Arduino CI seems to not handle dependencies between imported Arduino Libraries #192
Comments
This might be fixed by my #183 branch, I added some recursive logic that leverages the |
I'm having the same problem with a different library, and the branch "2020-10-16_suggestions" does not seem to fix it. What |
I should have linked to the Broadly speaking, the problem is that I need to come up with a compiler invocation that matches what the Arduino IDE might use. Perhaps theirs is a brute-force inclusion of all Arduino libraries in the To enable automatic dependency resolution, a "1.5 library spec" was released that includes a metadata file called However, there were bugs in my implementation: I didn't include directories in a spec-conformant way, and there was no recursion. (This kind of thing would have been a complex feature when I was still building out a proof of concept for simple libraries.) I am attempting to fix those in #183 What we'll have to hone in on here is whether this is failing due to having 1.0-spec libraries in the mix (in which case it should be solvable by adding entries to the It could also be that my branch is not automatically downloading all the necessary dependencies. |
I didn't mean to close the issue, but I tried the instructions form #183 and I seem to be having the same issue.
|
I'm parsing that as
So in that context, your error:
That looks like this file This repo does have |
is your project on GitHub somewhere that I could try it out locally? |
Yes, see TempProbe. |
I apologize for the delay on this, but it's on my radar |
One thing at a time! I'm somewhat curious to know if the library problem is similar to #180 (another case where a library was not found). |
The problem with #180 is that (for the Ethernet library) the library manager breaks my assumption... although it will download the library, it won't go into the |
Add test for #192: fatal error: 'Adafruit_SPIDevice.h' file not found
The error is a regression on my part in the way libraries with spaces in their names are handled. I incorrectly removed this line I'm tracking this with #222 since it's going to be a bigger issue than just for this. Note that I get other errors when I fix this
|
I am writing tests for a library A (TankControllerLib), and it imports library B (MAX31865) that has a dependance on library C (BusIO). When I wrote tests for library B, I included library C in .arduino-ci.yml, and it was able to find and use my modified library C. Now, I've included B and C as prerequisites for library A, and when library B is compiled, the header for library C is not found.
Here is my .arduino_ci.yml for the TankControllerLib:
Here is my .arduino_ci.yml for MAX31865:
Issue report prepared with @jgfoster
The text was updated successfully, but these errors were encountered: