Grbl 0-8 не стыкуется с ардуино 1.8.6

Нет ответов
PSORARO
Offline
Зарегистрирован: 05.02.2018

Проблема: установил библиотеку Grbl 0-8, на ардуино 1.8.6 при компиляции скетча выдал ошибку

 

Arduino: 1.8.6 Hourly Build 2018/01/03 03:33 (Windows 8), Плата:"Arduino Nano, ATmega328P"
 
In file included from C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/gcode.h:33:0,
 
                 from C:\Users\Анастасия\Downloads\CNC\CNC.ino:5:
 
C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/nuts_bolts.h:40:0: warning: "false" redefined
 
 #define false 0
 
 ^
 
In file included from C:\Users\Анастасия\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,
 
                 from sketch\CNC.ino.cpp:1:
 
c:\users\анастасия\desktop\arduino-nightly\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: note: this is the location of the previous definition
 
 #define false false
 
 ^
 
In file included from C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/gcode.h:33:0,
 
                 from C:\Users\Анастасия\Downloads\CNC\CNC.ino:5:
 
C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/nuts_bolts.h:41:0: warning: "true" redefined
 
 #define true 1
 
 ^
 
In file included from C:\Users\Анастасия\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:24:0,
 
                 from sketch\CNC.ino.cpp:1:
 
c:\users\анастасия\desktop\arduino-nightly\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: note: this is the location of the previous definition
 
 #define true true
 
 ^
 
In file included from C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/gcode.h:33:0,
 
                 from C:\Users\Анастасия\Downloads\CNC\CNC.ino:5:
 
C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/nuts_bolts.h:54:0: warning: "max" redefined
 
 #define max(a,b) (((a) > (b)) ? (a) : (b))
 
 ^
 
In file included from sketch\CNC.ino.cpp:1:0:
 
C:\Users\Анастасия\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:93:0: note: this is the location of the previous definition
 
 #define max(a,b) ((a)>(b)?(a):(b))
 
 ^
 
In file included from C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/gcode.h:33:0,
 
                 from C:\Users\Анастасия\Downloads\CNC\CNC.ino:5:
 
C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/nuts_bolts.h:55:0: warning: "min" redefined
 
 #define min(a,b) (((a) < (b)) ? (a) : (b))
 
 ^
 
In file included from sketch\CNC.ino.cpp:1:0:
 
C:\Users\Анастасия\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:92:0: note: this is the location of the previous definition
 
 #define min(a,b) ((a)<(b)?(a):(b))
 
 ^
 
In file included from C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/gcode.h:33:0,
 
                 from C:\Users\Анастасия\Downloads\CNC\CNC.ino:5:
 
C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8/nuts_bolts.h:58:0: warning: "bit" redefined
 
 #define bit(n) (1 << n) 
 
 ^
 
In file included from sketch\CNC.ino.cpp:1:0:
 
C:\Users\Анастасия\Desktop\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:123:0: note: this is the location of the previous definition
 
 #define bit(b) (1UL << (b))
 
 ^
 
HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':
 
(.text+0x0): multiple definition of `__vector_18'
 
libraries\grbl-0_8\serial.c.o (symbol from plugin):(.text+0x0): first defined here
 
HardwareSerial0.cpp.o (symbol from plugin): In function `Serial':
 
(.text+0x0): multiple definition of `__vector_19'
 
libraries\grbl-0_8\serial.c.o (symbol from plugin):(.text+0x0): first defined here
 
collect2.exe: error: ld returned 1 exit status
 
Несколько библиотек найдено для "config.h"
 Используется: C:\Users\Анастасия\Documents\Arduino\libraries\grbl-0_8
Не используется: C:\Users\Анастасия\Desktop\arduino-nightly\libraries\grbl-0_8
Не используется: C:\Users\Анастасия\Desktop\arduino-nightly\libraries\grbl-0_8
Не используется: C:\Users\Анастасия\Desktop\arduino-nightly\libraries\grbl-0_8
Не используется: C:\Users\Анастасия\Desktop\arduino-nightly\libraries\grbl-0_8
exit status 1
Ошибка компиляции для платы Arduino Nano.
 
Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"