1

So I installed libraries through the Arduino interface (Sketch> Include Library> Manage Library). Then I check: C:\Users\username\OneDrive\Documents\Arduino\Libraries, and I confirm the new libraries are there.

However, when I compile I always get the error that Arduino cannot find the library, no matter which one I try to import.

I'm on Arduino 1.8.5, Windows. What am I missing?

sa_leinad
3,2182 gold badges23 silver badges51 bronze badges
asked Jun 21, 2018 at 2:24
2
  • 2
    Does this answer help? arduino.stackexchange.com/questions/51813/… Commented Jun 21, 2018 at 2:29
  • @VE7JRO OH MY GOD!! It was OneDrive!?? What the what!? Thanks, this solved it. Commented Jun 23, 2018 at 2:38

1 Answer 1

2

This was a problem with using your OneDrive folder.

duskwuff wrote:

This is a known incompatibility between the Arduino IDE and Microsoft OneDrive. A fix should be available soon; in the meantime, move your Arduino sketches out of the OneDrive folder.

The issue with OneDrive folders has been resolved as of version 1.8.6.

https://www.arduino.cc/en/Main/ReleaseNotes

ARDUINO 1.8.6 2018年08月23日

[ide]

  • Updated arduino-builder to 1.4.0:
    • parallel build (improve compile speed)
    • better reuse of already compiled files
    • Windows: fixed build for sketch stored under OneDrive cloud folders

Simply update to a newer version of the Arduino IDE and you will be able to compile and upload your sketch.

answered Jun 7, 2019 at 15:42

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.