注释
Make sure you dont have a old library installed too No dia quinta-feira, 11 de janeiro de 2018, mlo300 <notifications@github.com> escreveu:
|
were is the last version of grbl? |
https://github.com/gnea/grbl/wiki/Compiling-Grbl 2018-01-11 17:34 GMT+00:00 mlo300 <notifications@github.com>:
|
I do not see any “compilation error” , they are WARNINGS. They will not prevent the compilation from finishing and producing an executable file. If the last thing shown is the size of the file etc. it worked. |
Arduino: 1.8.2 (FreeBSD), Board: “Arduino/Genuino Uno” /usr/local/arduino/arduino-builder -dump-prefs -logger=machine -hardware /usr/local/arduino/hardware -tools /usr/local/arduino/tools-builder -built-in-libraries /usr/local/arduino/libraries -libraries /home/bernt/sketchbook/libraries -fqbn=arduino:avr:uno -ide-version=10802 -build-path /tmp/arduino_build_739072 -warnings=all -build-cache /tmp/arduino_cache_648643 -prefs=build.warn_data_percentage=75 -verbose /home/bernt/sketchbook/libraries/grbl/examples/grblUpload/grblUpload.ino 按照此处的说明进行操作 |
在 C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0 包含的文件中,
C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:25:0: 警告:“false”重新定义
#define 假 0
^
在 C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0 包含的文件中,
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:42:0: 注意:这是前面定义的位置
#define 假假
^
在 C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0 包含的文件中,
C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:26:0: 警告:“真”重新定义
#定义真1
^
在 C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:24:0 包含的文件中,
c:\program files (x86)\arduino\hardware\tools\avr\lib\gcc\avr\4.9.2\include\stdbool.h:43:0: 注意:这是前面定义的位置
#define 真真
^
在 C:\Users\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0 包含的文件中,
C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:51:0: 警告:“最大”重新定义
#define max(a,b) (((a) > (b)) ? (a) : (b))
^
在 sketch\grblUpload.ino.cpp:1:0 包含的文件中:
C:\Program Files (x86)\Arduino\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\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,
C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:52:0: warning: “min” redefined
#define min(a,b) (((a) < (b)) ? (a) : (b))
^
In file included from sketch\grblUpload.ino.cpp:1:0:
C:\Program Files (x86)\Arduino\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\Admin\Documents\Arduino\libraries\grbl/grbl.h:43:0,
C:\Users\Admin\Documents\Arduino\libraries\grbl/nuts_bolts.h:55:0: warning: “bit” redefined
#define bit(n) (1 << n)
^
In file included from sketch\grblUpload.ino.cpp:1:0:
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:123:0: note: this is the location of the previous definition
#define bit(b) (1UL << (b))
^