Makeblock-official / mBlock

base on scratch offline v2.0 by MIT, Learn more from Makeblock official website
http://www.makeblock.com
GNU General Public License v2.0
320 stars 228 forks source link

mBlock Fails to Compile Arduino Program in Arduino Mode #3

Closed nilocor closed 7 years ago

nilocor commented 9 years ago

When using mBlock in Arduino mode and the "Upload to Arduino" option, the compile fails with the message

"/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Arduino.h:213:26: error: pins_arduino.h: No such file or directory 5-26 18:45: Process exited with 1"

As of release 1.0 "Arduino.h" is no longer a separate file, hence the error. However, the "Edit with Arduino IDE" functions works okay.