This thing had happened for some times. everyting works fine but uploading mblock code to arduino always show errors.
Error message as this:
----Loading configuration…
Initializing packages…
Preparing boards…
Verifying and uploading…
使用库 Wire 在文件夹: C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\libraries\Wire
使用库 SoftwareSerial 在文件夹: C:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\libraries\SoftwareSerial
{runtime.tools.avr-gcc.path}/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\variants\standard -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\libraries\Wire -IC:\Program Files (x86)\mBlock\Arduino\hardware\arduino\avr\libraries\SoftwareSerial C:\Users\SUNNY\AppData\Local\Temp\build2126329264903402140.tmp\project_7_6.cpp -o C:\Users\SUNNY\AppData\Local\Temp\build2126329264903402140.tmp\project_7_6.cpp.o
Cannot run program “{runtime.tools.avr-gcc.path}\bin\avr-g++” (in directory “.”): CreateProcess error=2, 系统找不到指定的文件。
09:02:30.456 < 56 65 72 73 69 6f 6e 3a 20 30 61 2e 30 31 2e 31 30 35 0d 0a
when i choose edit with arduino IDE and trying to upload code directyly via arduino IDE, errors continue and below error message pops up:
----Arduino:1.6.5 (Windows 7), 板:“Arduino/Genuino Uno”
----Cannot run program “{runtime.tools.avr-gcc.path}\bin\avr-g++” (in directory “.”): CreateProcess error=2, 系统找不到指定的文件。
can somebody help me how to fix this uploading code to arduino problem?
—Ted