proto3 / klipper-plasma

Klipper for plasma CNC (in progress...)
GNU General Public License v3.0
17 stars 6 forks source link

SKR 1.4 Compilation error #5

Open cgowen opened 5 months ago

cgowen commented 5 months ago

This project has so much potential. I'm not sure if it is still being developed or if you have moved on to other things.

I am attempting to compile this for a SKR 1.4 board typically used in 3d printers. I have it connected and moving my x&y axis for my machine. However I can only test motion with the official klipper firmware which of course has no support for plasma gcodes.

I was able to downgrade to python2.7.9 but have had no luck in compiling for the lpc1768 board. This is the output I get:

Building out/compile_time_request.o
Version: ?-20240319_221018-Plasma
  Preprocessing out/src/generic/armcm_link.ld
  Linking out/klipper.elf
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: out/src/command.o: in function `command_find_block':
/home/user/klipper-plasma-plasma/src/command.c:273: undefined reference to `is_time_frozen'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: out/src/stepper.o: in function `speed_mode_update':
/home/user/klipper-plasma-plasma/src/stepper.c:407: undefined reference to `sqrt'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: /home/user/klipper-plasma-plasma/src/stepper.c:402: undefined reference to `sqrt'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: out/src/plasma.o: in function `start_plasma':
/home/user/klipper-plasma-plasma/src/plasma.c:107: undefined reference to `time_freeze'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: /home/user/klipper-plasma-plasma/src/plasma.c:109: undefined reference to `time_frozen_idle'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: /home/user/klipper-plasma-plasma/src/plasma.c:108: undefined reference to `is_time_frozen'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: /home/user/klipper-plasma-plasma/src/plasma.c:112: undefined reference to `time_unfreeze'
/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: /home/user/klipper-plasma-plasma/src/plasma.c:112: undefined reference to `time_unfreeze'
collect2: error: ld returned 1 exit status
make: *** [Makefile:96: out/klipper.elf] Error 1

Thank you for all the work you've put into this project. I have very limited experience with coding but If you could even point me in the right direction I'd love to see this table actually cut something!