Cannot resolve library for nested files #484
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Bug Report
Current behavior
I am trying to reproduce the build behavior of the Arduino IDE in arduino-cli s.t I can use them in a Makefile and virtualenv.
Currently, the command I run for the Arduino IDE is:
I replaced it in my makefile as such:
When I run
make
,The directory structure is like such:
Expected behavior
Is the expected behavior to mirror the official Arduino IDE?
The builder should find local headers and not attempt to resolve them as libraries.
Environment
arduino-cli version
): Version: 0.6.0 Commit: 3a08b07Additional context
My libraries are all managed by git submodules rather than the package manager, however, arduino-cli parses them fine.
What's likely happening is that the library resolver just takes whatever includes list the gccpreproc generates in legacy/builder, no matter if it exists in subdirectories or not. I'm wondering if that's fixed in the new builder and if there is a way to invoke that.
The text was updated successfully, but these errors were encountered: