Skip to content

delete auto downloaded SD library in users <sb>/libraries directory, does not then use board specific one #1755

Closed
@KurtE

Description

@KurtE

Describe the problem

I installed RC7 on new machine (RPI4 running Ubuntu 22.04). But pretty sure other setups would work the same.

I then installed the Teensy boards, which installs it's own SD library (~/.arduino15/packages/teensy/hardware...)

I then opened a sketch and tried to compile it, I received several strange errors and then remembered it was using the old SD library. So opened up Arduino/libraries folder and deleted SD.

I then tried to build again.

The compiler then failed with error saying that it used: SD.h from the Arduino/libraries/SD folder and not the one from the teensy install. And then gave error that the file did not exist.

To reproduce

Described above.

Expected behavior

Would expect it to see that the folder did not exist and then do the find of it again.

Note: I also tried closing the window and reopen it and it still gave same error.

Arduino IDE version

RC7

Operating system

Linux

Operating system version

Ubuntu 22.04 (RPI 64 bit)

Additional context

Sort of related to my arduino/arduino-ide#798, where I would hope if I had a custom version already installed it would not overwrite.

Also tried to search for duplicate but hard to find search terms.

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

conclusion: resolvedIssue was resolvedtopic: codeRelated to content of the project itselftopic: gRPCRelated to the gRPC interfacetype: 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