Contact me: hankecnc@gmail.com

编译时出现多个定义错误 #610

推推 grbl 3年前 (2023-01-22) 110次浏览

关闭
afuhrtrumpet 打开了这个问题 2015 年 3 月 2 日 · 1条评论

注释

编译时出现多个定义错误 #610

我一直在按照 Arduino IDE 方法的编译说明进行操作,但出现以下错误:

core.a(wiring.c.o): In function `init':
/usr/share/arduino/hardware/arduino/cores/arduino/wiring.c:193: multiple definition of `__vector_16'
grbl/stepper.c.o:/home/alex/sketchbook/libraries/grbl/stepper.c:536: first defined here
core.a(HardwareSerial.cpp.o): In function `_GLOBAL__sub_I_rx_buffer':
/usr/share/arduino/hardware/arduino/cores/arduino/Print.h:43: multiple definition of `__vector_18'
grbl/serial.c.o:/home/alex/sketchbook/libraries/grbl/serial.c:204: first defined here
core.a(HardwareSerial.cpp.o): In function `_GLOBAL__sub_I_rx_buffer':
/usr/share/arduino/hardware/arduino/cores/arduino/HardwareSerial.cpp:320: multiple definition of `__vector_19'
grbl/serial.c.o:/home/alex/sketchbook/libraries/grbl/serial.c:204: first defined here
collect2: error: ld returned 1 exit status

任何人都知道为什么会发生这种情况?

编译时出现多个定义错误 #610
成员

@afuhrtrumpet: 看起来你正在尝试编译边缘分支 v0.9i。编译发生了一些变化,变得更容易了。您应该在文件下拉列表中看到一个名为 GrblUpload 的示例。用那个。

喜欢 (0)