Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.59k stars 5.35k forks source link

Cannot compile firmware for simulavr #2127

Closed vladbabii closed 5 years ago

vladbabii commented 5 years ago

Did the steps described in documentation

...compile Klipper for use in simulavr, run:

cd /patch/to/klipper
make menuconfig
and compile the micro-controller software for an AVR atmega644p, set the MCU frequency to 20Mhz, and select SIMULAVR software emulation support. Then one can compile Klipper (run make) ...

result of make:

  Build Kconfig config file
  Creating symbolic link out/board
  Compiling out/src/sched.o
src/sched.c:10:31: fatal error: board/io.h: No such file or directory
compilation terminated.
Makefile:66: recipe for target 'out/src/sched.o' failed
make: *** [out/src/sched.o] Error 1

This is on a fresh clone of klipper from github - d65f2e2

.config file from klipper root folder dot_config.zip

empty log for bot, please ignore klippy.zip

KevinOConnor commented 5 years ago

Works fine for me. You probably need to run make clean first.

-Kevin

vladbabii commented 5 years ago

Re installed klipper on a fresh install and it worked.