You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2020. It is now read-only.
Copying a library in dev creates a structure with a second .h file nested in a folder. This throws an error as a default and prevents the library from compiling until it is removed.
Copy library
Won't compile immediately after, no edits to library or anything
Here's the problem
Deleted that .h and moved the other library files inside
The text was updated successfully, but these errors were encountered:
Thanks for the detailed description and screen grabs.
The nested includes are "adapters" that support legacy applications using the #include "LibraryName/LibraryName.h" syntax. They are meant to be there, and shouldn't cause an issue themselves if the rest of the library is also present.
The actual header file from the library should exist in the src folder of the library, but from the screenshot, it looks like that it's missing.
I just tried this and was unable to replicate the directory structure above. This is what I get after copying the library:
I'm not sure how to explain the difference:
are we using the same version of particle-dev-libraries? I'm on 0.2.18
Is there any chance you may have dragged those files from src into the Adafruit_MLX90614 subfolder? In your screenshot, there are two files in the subfolder, where there should only be one.
Copying a library in dev creates a structure with a second .h file nested in a folder. This throws an error as a default and prevents the library from compiling until it is removed.
Copy library
Won't compile immediately after, no edits to library or anything
Here's the problem
Deleted that .h and moved the other library files inside
The text was updated successfully, but these errors were encountered: