Compiler Error on Starter Kit Example


#1

Hi guys,

I bought a starter kit plus the sensor add-on pack. But when I tried to compile an example, I got

In file included from C:\Program Files\Arduino\libraries\makeblock\src/MeConfig.h:95,
from C:\Program Files\Arduino\libraries\makeblock\src/MeOrion.h:36,
from IR_Ultrasonic.ino:15:
C:\Program Files\Arduino\libraries\makeblock\src/utility/Servo.h:69:2: error: #error "This library only supports boards with an AVR, SAM or SAMD processor."
In file included from C:\Program Files\Arduino\libraries\makeblock\src/MeOrion.h:43,
from IR_Ultrasonic.ino:15:
C:\Program Files\Arduino\libraries\makeblock\src/Me4Button.h:1: error: stray ‘\357’ in program
C:\Program Files\Arduino\libraries\makeblock\src/Me4Button.h:1: error: stray ‘\273’ in program
C:\Program Files\Arduino\libraries\makeblock\src/Me4Button.h:1: error: stray ‘\277’ in program

So what’s going on? Please advise.


#2

Hi screwed,

Do you compile the program through mBlock or Arduino?
If you use the Arduino software, which version Arduino do you use? Is it the latest one v1.6.9
Besides, please download the latest makeblock library in this link: https://github.com/Makeblock-official/Makeblock-Libraries/archive/master.zip
Please replace the previous makeblock library with the new one under the Arduino installation path.
You need also check if you have chosen the correct Board and Serial port for the Orion board:


#3