关闭 tommil 打开了这个问题 2014 年 1 月 13 日 · 3条评论 关闭 使用 ENABLE_AUTO_BED_LEVELING 在 Linux 上编译失败#712 tommil 打开了这个问题 2014 年 1 月 13 日 · 3条评论 评论 贡献者 托米尔 评论了 2014 年 1 月 13 日 当我尝试在 Raspberry 上(使用 Arduino 1.0.5)编译 Marlin 时,出现此错误: CC /usr/share/arduino/hardware/arduino/cores/arduino/wiring.c CC /usr/share/arduino/hardware/arduino/cores/arduino/wiring_analog.c CC /usr/share/arduino/hardware/arduino/cores/arduino/wiring_digital.c CC /usr/share/arduino/hardware/arduino/cores/arduino/wiring_pulse.c CC /usr/share/arduino/hardware/arduino/cores/arduino/wiring_shift.c CC /usr/share/arduino/hardware/arduino/cores/arduino/WInterrupts.c CXX /usr/share/arduino/hardware/arduino/cores/arduino/WMath.cpp CXX /usr/share/arduino/hardware/arduino/cores/arduino/WString.cpp CXX /usr/share/arduino/hardware/arduino/cores/arduino/Print.cpp CXX Marlin_main.cpp CXX MarlinSerial.cpp CXX Sd2Card.cpp CXX SdBaseFile.cpp CXX SdFatUtil.cpp CXX SdFile.cpp CXX SdVolume.cpp CXX motion_control.cpp CXX planner.cpp CXX stepper.cpp CXX temperature.cpp CXX cardreader.cpp CXX ConfigurationStore.cpp CXX watchdog.cpp CXX /usr/share/arduino/libraries/SPI/SPI.cpp CXX Servo.cpp CXX /usr/share/arduino/hardware/arduino/cores/arduino/Tone.cpp CXX ultralcd.cpp CXX /usr/share/arduino/libraries/LiquidCrystal/LiquidCrystal.cpp CXX /usr/share/arduino/hardware/arduino/cores/arduino/main.cpp CXX applet/Marlin.elf applet/Marlin_main.o: In function `run_z_probe()': Marlin_main.cpp:(.text._ZL11run_z_probev+0x30): undefined reference to `matrix_3x3::set_to_identity()' applet/Marlin_main.o: In function `process_commands()': Marlin_main.cpp:(.text._Z16process_commandsv+0x172): undefined reference to `matrix_3x3::set_to_identity()' Marlin_main.cpp:(.text._Z16process_commandsv+0x770): undefined reference to `matrix_3x3::set_to_identity()' Marlin_main.cpp:(.text._Z16process_commandsv+0xc32): undefined reference to `qr_solve(int, int, double*, double*)' Marlin_main.cpp:(.text._Z16process_commandsv+0xd02): undefined reference to `vector_3::vector_3(float, float, float)' Marlin_main.cpp:(.text._Z16process_commandsv+0xd10): undefined reference to `vector_3::debug(char*)' Marlin_main.cpp:(.text._Z16process_commandsv+0xd62): undefined reference to `matrix_3x3::create_look_at(vector_3)' Marlin_main.cpp:(.text._Z16process_commandsv+0xecc): undefined reference to `apply_rotation_xyz(matrix_3x3, float&, float&, float&)' applet/planner.o: In function `plan_buffer_line(float, float, float, float const&, float, unsigned char const&)': planner.cpp:(.text._Z16plan_buffer_linefffRKffRKh+0xca): undefined reference to `apply_rotation_xyz(matrix_3x3, float&, float&, float&)' applet/planner.o: In function `plan_get_position()': planner.cpp:(.text._Z17plan_get_positionv+0x52): undefined reference to `vector_3::vector_3(float, float, float)' planner.cpp:(.text._Z17plan_get_positionv+0x7e): undefined reference to `matrix_3x3::transpose(matrix_3x3)' planner.cpp:(.text._Z17plan_get_positionv+0xb4): undefined reference to `vector_3::apply_rotation(matrix_3x3)' applet/planner.o: In function `plan_set_position(float, float, float, float const&)': planner.cpp:(.text._Z17plan_set_positionfffRKf+0x74): undefined reference to `apply_rotation_xyz(matrix_3x3, float&, float&, float&)' collect2: error: ld returned 1 exit status make: *** [applet/Marlin.elf] Error 1 在 Windows 中,相同的代码和配置文件编译没有任何问题。此外,如果我禁用 ENABLE_AUTO_BED_LEVELING 代码在 linux 中编译。 贡献者 圆柱形 评论了 2014 年 2 月 17 日 听起来像是 Arduino IDE 版本的不同。我现在在使用旧版本时遇到一些问题。您使用的是什么版本?你能试试最新的吗?另外,现在再试一次,上个月在床铺调平方面发生了许多变化。 贡献者 无名小卒 评论了 2014 年 2 月 17 日 告诉我你的 Makefile? nothinman完成后 关闭了它 2014 年 4 月 14 日 喜欢 (0) 激活统一床调平问题 #30 TMC 连接错误 #32 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭 无法在 gsender 1.2.0 中打开 .gcode 文件 #367 RaspberryPi 运行 gsender 时出现问题 #89 向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473 v1.3.8-EDGE 重启后键盘快捷键消失 #427 关闭无法在 gsender 1.2.0 中打开 .gcode 文件 #367RaspberryPi 运行 gsender 时出现问题 #89向 fluidnc 发送 $$ 会导致 gsender 崩溃 #473功能请求:抑制发送到机器的 gcode 中的 gcode 注释。 #444 关闭通过网络连接进行连接 #171操纵杆运动的剩余问题 #204 关闭新版本认为我的机器一直处于锁定状态 #474 关闭
当我尝试在 Raspberry 上(使用 Arduino 1.0.5)编译 Marlin 时,出现此错误:
在 Windows 中,相同的代码和配置文件编译没有任何问题。此外,如果我禁用 ENABLE_AUTO_BED_LEVELING 代码在 linux 中编译。