FYSETC / FYSETC-SPIDER

FYSETC Board - 3d printer motherboard for VORON and other open source project.
311 stars 148 forks source link

Error compiling Klipper for Spider board #53

Closed CMarkussen closed 2 years ago

CMarkussen commented 2 years ago

Hi

I am new to Klipper and want to install it on my 3D printer where I am using the Spider 1.0 board. I have installed OctoPrint and everything is ok there and I am following the installation procedure on https://www.klipper3d.org/Installation.html. For the "make menuconfig" then I am entering the parameters as describer in https://github.com/FYSETC/FYSETC-SPIDER#421-menuconfig.

When I type "make" through Putty then I get the following error message: pi@octopi:~/klipper $ make Compiling out/src/sched.o make: arm-none-eabi-gcc: Command not found make: *** [Makefile:64: out/src/sched.o] Error 127 pi@octopi:~/klipper $

So I get that the compiler can not find the file "arm-none-eabi-gcc" but how can I install that file? Any help will be much appreaciated.

Christian

InoxDragoon commented 2 years ago

I had this issue too. It was fixed by updating klipper by ssh into the pi and running sudo apt update --allow-releaseinfo-change as outlined Here on the main klipper discussion.

CMarkussen commented 2 years ago

Thank you, that did the trick. Much appreciated :-) For others reading this thread, I had to run this command before the

git clone https://github.com/Klipper3d/klipper
./klipper/scripts/install-octopi.sh

as described on the Klipper installation page.

In the end, after the code is complied I had to use FTP to copy the klipper.bin file from RPI to the SD card on the MCU via my computer.