Go Down

Topic: Cannot compile anything (Read 194 times) previous topic - next topic

Royloco11

Hi guys, im trying to compile a code, but, the next error appears:

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"

readlink C:\Users\rod_h\OneDrive\Documentos\Arduino\funciona\funciona.ino: The system can not find the specified file.
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This is for all the programs that im trying to compile, idk what else do, please help, i uninstalled the program and didn't work

pert

The problem is caused by using the Arduino IDE with files located under the OneDrive folder.

The easiest solution is to not use the Arduino IDE with any files in OneDrive.

In this case it looks like you have your sketchbook located under OneDrive. You can change the location of  the sketchbook folder via the Arduino IDE's File > Preferences > Sketchbook Location. Change that setting to any convenient folder on your computer as long as it's not in the OneDrive. The Arduino IDE does not automatically copy the contents of the previous sketchbook folder to the new location so you will need to do this manually.

If you do want to continue using the Arduino IDE with OneDrive, you may be interested to know that the bug has already been fixed in the beta build of the Arduino IDE, which you can download here:
http://www.arduino.cc/en/Main/Software#beta
but be aware that version of the Arduino IDE is primarily intended only for beta testing so you may have a higher chance of encountering bugs than you would using the production releases of the IDE.

To see details on the problem, steps that are being taken to fix it, and other possible workarounds that will allow you use the Arduino IDE with OneDrive, see:
https://github.com/arduino/arduino-builder/issues/254

Royloco11

Hi, thanks for the answer, i did that and works, really thanks.

Go Up