-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Can't compile from 1.8.5 on Windows 10 Fall Update when sketchbook located on OneDrive #6932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Did you see http://forum.arduino.cc/index.php?topic=509222.0 ? reply # 5 might be the solution for your issue. |
Thanks for pointing to that thread, @sterretje! However there is no solution yet... Turning off the OneDrive's "Files on Demain" is not a solution, as older Arduino versions still works with the option on. Subscribed to #6867 though. |
Hm, just tried Arduino 1.6.12, and it behaves exactly like 1.8.5!! So there must be something fundamentally changed in Arduino IDE between 1.6.5 and 1.6.12 that causing this... |
Just downloaded Arduino 1.6.6 to test, cannot compile the OneDrive located sketch! So 1.6.6 is where all started!! Maybe not a coincidence, but it is the first version that the startup splash shows "Arduino + Genuino". Reading the Release Note also shows several thing firstly introduced in this version, among others these two might be the culprit:
I'm not a developer, but hopefully these finding may help to have a fix quicker... |
Both of these changes sound like they could be related. When you say "cannot compile", what do you mean exactly? Any error messages? Perhaps you can enable verbose compilation and paste the entire output here? |
The error is simple - it just can't see the file, either ino sketch or the library:
|
Seems definitely related to the arduino-builder introduction. I've opened arduino/arduino-builder#254 for this, so I'm closing this issue. Thanks for the info so far, let's continue discussing there. |
I'm frequently using different computers for Arduino development, so I keep a sketchbook on my OneDrive, and it worked without problem till latest Windows 10 Fall Update. After the this Windows version update (I'm currently on build 16299.rs3_release.170928-1534), even when I set the whole sketchbook folder as "Always available offline", Arduino 1.8.5 can't compile any sketch located on OneDrive, or that uses any library located under the sketchbook. If I move the sketch/library to local hard-drive then everything compiles OK. Browsing/opening/editing/saving on OneDrive has no issues.
Looks like this happens only with Arduino 1.8 (tried 1.8.3 and 1.8.5), but Arduino 1.6.5 on the same machine doesn't have any issues and compiles everything without problems.
So what 1.8 have different from 1.6 that prevent it from compiling sketches/libraries on OneDrive? Is ther a workaround for this, or we'll have to wait till next release?
The text was updated successfully, but these errors were encountered: