0

I am getting the following error message when compiling a program on my Arduino IDE. This does not happen when compiling the given example programs in the IDE.

The error message is as follows :

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Program Files\Arduino\arduino-builder -dump-prefs -logger=machine -hardware 
C:\Program Files\Arduino\hardware -tools 
C:\Program Files\Arduino\tools-builder -tools
C:\Program Files\Arduino\hardware\tools\avr -built-in-libraries 
C:\Program Files\Arduino\libraries -libraries 
C:\Users\mahim\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10805 -build-path 
C:\Users\mahim\AppData\Local\Temp\arduino_build_361527 -warnings=none -build-cache 
C:\Users\mahim\AppData\Local\Temp\arduino_cache_227236 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=
C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=
C:\Program Files\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=
C:\Program Files\Arduino\hardware\tools\avr -verbose 
C:\Users\mahim\OneDrive\Documents\Arduino3円potpass3円potpass.ino
readlink 
C:\Users\mahim\OneDrive\Documents\Arduino3円potpass3円potpass.ino: The system cannot find the file specified.
Error compiling for board Arduino/Genuino Uno.
sa_leinad
3,2182 gold badges23 silver badges51 bronze badges
asked Jun 27, 2018 at 15:36

2 Answers 2

2

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.

answered Jun 27, 2018 at 16:49
0

Following on from duskwuff's answer, 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:17

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.