Closed
Description
Bug Report
Current behavior
cmd.exe /r "C:\Users\pc\Documents\tool\arduino-cli.exe" compile "C:\Users\pc\Documents\tool\sketch\sketch.ino" -b arduino:avr:diecimila --libraries "C:\Users\pc\Documents\tool\libs" --output-dir "C:\Users\pc\Documents\tool\sketch\out" --verbose
It says it can't find a header file inside \tool\libs directory (with #include "header.h") .
Expected behavior
It should find the file like it does when the \libs\ folder is inside the same directory as the sketch (#include "libs/header.h")
Environment
- CLI version (output of
arduino-cli version
): - OS and platform:
Additional context
Looking at the source code it seems like the values passed to --libraries are added to a list but aren't referenced ever again. Maybe this is the cause of the issue.