Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

Sketches from Arduino examples(located in the installed directory) freezes at 100%. #426

Closed noumenonquest closed 7 years ago

noumenonquest commented 7 years ago

arduino sketches placed in the documents directory/desktop or anywhere else compiles properly, however the example sketches located in the arduino installed directory freezes at 100%.

btw i'm using windows10.

[Build] C:/Program Files (x86)/Arduino/examples/01.Basics/Blink...
[Step 1] Check Toolchain.
[Step 2] Find all source files.
[Step 3] Start building.
[3.6%] Compiling Blink.ino.cpp...
[7.1%] Compiling abi.cpp...
[10.7%] Compiling CDC.cpp...
[14.3%] Compiling HardwareSerial.cpp...
[17.9%] Compiling HardwareSerial0.cpp...
[21.4%] Compiling HardwareSerial1.cpp...
[25.0%] Compiling HardwareSerial2.cpp...
[28.6%] Compiling HardwareSerial3.cpp...
[32.1%] Compiling IPAddress.cpp...
[35.7%] Compiling main.cpp...
[39.3%] Compiling new.cpp...
[42.9%] Compiling PluggableUSB.cpp...
[46.4%] Compiling Print.cpp...
[50.0%] Compiling Stream.cpp...
[53.6%] Compiling Tone.cpp...
[57.1%] Compiling USBCore.cpp...
[60.7%] Compiling WMath.cpp...
[64.3%] Compiling WString.cpp...
[67.9%] Compiling hooks.c...
[71.4%] Compiling WInterrupts.c...
[75.0%] Compiling wiring.c...
[78.6%] Compiling wiring_analog.c...
[82.1%] Compiling wiring_digital.c...
[85.7%] Compiling wiring_pulse.c...
[89.3%] Compiling wiring_shift.c...
[92.9%] Compiling wiring_pulse.S...
[96.4%] Linking everything together...
[100.0%] Creating binary files...
Robot-Will commented 7 years ago

When build done, I copy a binary file to the sketch folder. The example file is in C:/Program Files (x86), and this folder needs administrtor's right to write. So there is a Permission Error.

I fixed, if can not copy, just do nothing.