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 }}
Repository navigation
Header-only registry library is fetched but never added to the include path (follow-up to #1276) #1441
With fbuild 2.5.23, a header-only registry library in lib_deps is downloaded, but its headers are not on the sketch's include path:
kitchensink.ino.cpp:8:10: fatal error: ArduinoJson.h: No such file or directory
The package is on disk at .fbuild/build/dev/release/libs/arduinojson/src/ArduinoJson.h. Libraries with sources (asynctcp, espasyncwebserver) are compiled and linked normally. With the #include <ArduinoJson.h> line commented out, the same project builds and links (313 KB).
This follows #1276, where registry entries were never fetched. They are fetched now, but a library that produces no objects never reaches the -I list.
The sketch has #include <ArduinoJson.h>. The bare name ArduinoJson behaves the same.
Expected
Every resolved library's include directories (src/, or the root when there is no src/) are on the sketch's include path, whether or not the library has anything to compile. That is PlatformIO's behaviour.
Activity
fix(daemon): resolve a relative project dir against the caller's cwd
chore: bump version to 2.5.24 (#1448)
fix(ci): port the kitchensink project to fbuild
fix(ci): port the kitchensink project to fbuild
chore(deps): pin fbuild 2.5.24 (#4431)