Skip to content

IDE wants to install already installed dependencies #2614

Closed as duplicate of#721
@ropg

Description

@ropg

Describe the problem

I wrote a library called LVGL_CYD, it is in the index. It has in its library.properties a depends line that reads

depends=lvgl,TFT_eSPI,spi_lcd_read

The first two being what you think they are, the last one another small library I wrote, also in the index. When I have the dependencies already installed, the IDE nonetheless prompts:

Image

When I hit "Install All", the output is:

Image

To reproduce

  • Install LVGL_CYD and dependencies
  • Uninstall LVGL_CYD
  • Install LVGL_CYD

Expected behavior

When dependencies already installed, just install the library and not prompt to install the dependencies.

Arduino IDE version

2.3.4

Operating system

macOS

Operating system version

MacOS Sequoia 15.2 (but also occurs on Windows say library users)

Additional context

I might well be doing something subtly wrong in that library, but I don't see it and cannot explain this behavior by the IDE.

Same problem on 2.3.5-nightly-20241212, which I found here. Is that the official download link for nightly builds for Apple silicon?

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions