Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Detect libraries in Sketch Folder #2763

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@fedy0

Description

@fedy0
Issue body actions

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
Image

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.