Contributed Libraries

Greetings,

I'm using IDE 2.3.2. My sketch folder is inside my OneDrive folder (the path does include non-English characters and I do work on three different devices / locations, hence OD).

When I try to run any contributed libraries I get the fatal error: No such file or directory.

I've downloaded the file, installed it manually through the IDE and confirmed the folder is there via explorer. The library's example sketches also show up.

However, contributed libraries do not show up in the library manager. I tried switching the preference to the default My Documents folder but ran into the same problem.

I tried creating a random folder on my C drive, using that as my preference, and the IDE now recognizes contributed libraries as expected.

Can anyone help with this? I'm not sure what is causing this behavior. I'd prefer to not have to install each and every library and strictly rely on the sketch cloud for all three devices.

Kind regards,

Edit: I had forgotten that the default location is inside the Window's OneDrive attached to the user account, which I've deactivated; I only use my school's OD account.

It appears OneDrive is the problem so this is probably a permissions related problem. If anyone knows a work around for this that would be awesome, thank you.

Hi @nimkee.

I think this is probably the cause. Unfortunately there is a bug in the Arduino sketch build system that causes this problem when libraries are installed under a path that contains such characters:

The only workaround I am aware of is the one you already found; to configure your sketch to a path that contains only ASCII characters:

I think that if you can configure OneDrive to use such a path then there will be no problem using it. My hypothesis is that the reason you had the problem is purely due to the fact that the OneDrive folder happened to be under a path which contained problematic characters, rather than the use of OneDrive itself.

Thank you very much for the reply. I have some decisions to make regarding my three computers. The poor poster in the link you shared having 150 at work is...certainly a bit more involved than my own!

Kind regards,