readlink C:\Users\j_m_v\OneDrive\Documents\Arduino\Thimble\daddysfix\daddysfix.ino: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Uno.
I also do not see any boad info when I select Tools-->Get Board Info. The BN: Unknown.
I have confirmed that the com port assigned to the board is recognized when plugged in. No other devices plugged in. Ports work. Tried a different cable.
The Form has terrible search capability, can't find any related posts. Troubleshooting guide did not help.
The problem is that the Arduino IDE is not compatible with OneDrive.
The simplest solution is to simply move your sketch somewhere else that is not in the OneDrive. You can change your sketchbook location via the Arduino IDE's File > Preferences > Sketchbook location.
For an explanation of the problem and some workarounds to allow you to use the Arduino IDE with OneDrive see this:
DarthVarner:
The Form has terrible search capability, can't find any related posts.
Well it's just Google, which isn't so bad. I would like to have some forum-specific search capabilities but in this case it's just a matter of having some good search skills. You need to know which keywords are important and which are harmful. For example, if you search for:
"readlink C:\Users\j_m_v\OneDrive\Documents\Arduino\Thimble\daddysfix\daddysfix.ino: The system cannot find the file specified."
then of course you're not going to get good results because it's too specific. Nobody else will have the path C:\Users\j_m_v\OneDrive\Documents\Arduino\Thimble\daddysfix\daddysfix.ino in their error messages except for you. If you search for:
"Error compiling for board Arduino/Genuino Uno"
then you're going to get thousands of irrelevant results because it's way too general, though I would also say that the "Arduino/Genuino Uno" part is too specific since it will filter out people who may have the same error when compiling for other boards. So a happy medium would be:
readlink "The system cannot find the file specified."
The Arduino developer has been working on a fix for this issue but is not able to reproduce the original issue so is having difficulty knowing whether they have succeeded. If you want to help out to get this problem fixed and make sure that the next release of the Arduino IDE can be used with OneDrive it would be really helpful if you could do some testing and give feedback:
Save a sketch somewhere under your OneDrive.
Compile it with the Arduino IDE to verify that the "readlink" error occurs"
Update on the OneDrive situation:
With some help from a community member, the Arduino developer was able to reproduce the issue. It turns out the problem was not fixed in the beta build of the Arduino IDE but if anyone wants to try the fix there are now a couple versions of the fixed arduino-builder tool available here:
The "arduino-builder-for-1.8.5.zip" is for Arduino IDE 1.8.5. "arduino-builder-for-1.9.0.zip" is for if you're using the beta build of the Arduino IDE. Just replace the file arduino-builder.exe in your Arduino IDE installation folder with the one you find inside the downloaded .zip file.
It sounds like this problem likely won't be resolved in a stable release version of the Arduino IDE until August at earliest because they need to wait for the 1.11 release of the Go programming language, which contains the fix and that release is scheduled for August 1, after which Arduino will need to make their own release of the Arduino IDE using the new Go version to compile the arduino-builder tool. At least there has been some progress on this issue even if the final solution is not soon to arrive.