Hi,
I have a DIY reprap Mendel based on the Prusa i3. I built the machine some years ago and had very little problem with initial Marlin configuration and the machine wiorked well. I have recently started using it again with a BL touch added and have tried using Marlin 2.0.3 as advised on the GitHub forum.
However I am having a problem with the configuration. I managed to complete the configuration and verified it on my home PC (Win 10) but when I took it to the printer PC I got a n error when compiling. When I went back to the home PC I had exactly the same error which I list below:-
Archiving built core (caching) in: C:\Users\Terry\AppData\Local\Temp\arduino_cache_487220\core\core_arduino_avr_mega_cpu_atmega2560_e96223c13c81911d89dfbd2c8674a8de.a
Linking everything together...
"C:\Users\Terry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560 -o
"C:\Users\Terry\AppData\Local\Temp\arduino_build_828547/Marlin.ino.elf"
"C:\Users\Terry\AppData\Local\Temp\arduino_build_828547\sketch\Marlin.ino.cpp.o"
"C:\Users\Terry\AppData\Local\Temp\arduino_build_828547/core\core.a"
"-LC:\Users\Terry\AppData\Local\Temp\arduino_build_828547" -lm
C:\Users\Terry\AppData\Local\Temp\ccgDt77s.ltrans0.ltrans.o: In function `main':
C:\Users\Terry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino/main.cpp:43: undefined reference to `setup'
C:\Users\Terry\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\cores\arduino/main.cpp:46: undefined reference to `loop'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Mega or Mega 2560.
Error compiling for board Arduino Mega or Mega 2560.
I have attached Configuration.h as a zipped file for possible testing. As a non programmer I don't really understand what is going on here Am I missing a file somewhere? or is there a bug in the software. I hope that there is some clever person out there who has solved this or understands what is happening. Please help if you can I would most appreciate it.
Terry Dixon
Configuration.zip (26.9 KB)