Closed as not planned
Description
Describe the request
The sketch folder structure described in the arduino-cli documentation does not work (i.e. the libraries added in the sketch folder can not be found by both the arduino-cli and the arduino-builder
Describe the current behavior
It returns the error below when one tries to compile a sketch with a library whose location is within the sketch folder itself
> fatal error: SomeLib.h: No such file or directory
Arduino CLI version
1.1.1
Operating system
Linux
Operating system version
24.04
Additional context
If the build procedure can be made in such a way that the build process (both the cli & builder) checks the sketch folder for libraries first before the Arduino/libraries
and /home/<user>/.arduino15/packages/<platform>/hardware/<core>/<version>/libraries
locations that would be great and in adherence to the sketch folder structure specification
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the nightly build
- My request contains all necessary details