Hi there! First I want to say that Ryan is one of the coolest and smartest guy on the planet for sharing this awesome project. It amazes people every day when I say to them “I’m making a DIY CNC”.
I’m at one stage when I move from the hardware to software.
I’m trying to burn the firmware into the Atmega. B16_32_8mm-LCD-112515 and get all sorts of errors.
I tried to load the https://github.com/MarlinFirmware/Marlin and it uploads fine.
Arduino: 1.6.12 (Mac OS X), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”
In file included from sketch/ConfigurationStore.cpp:65:0:
sketch/language.h:65:0: warning: “MACHINE_NAME” redefined
#define MACHINE_NAME CUSTOM_MENDEL_NAME
^
sketch/language.h:61:0: note: this is the location of the previous definition
#define MACHINE_NAME “Mendel”
^
In file included from sketch/Marlin_main.cpp:47:0:
sketch/language.h:65:0: warning: “MACHINE_NAME” redefined
#define MACHINE_NAME CUSTOM_MENDEL_NAME
^
sketch/language.h:61:0: note: this is the location of the previous definition
#define MACHINE_NAME “Mendel”
^
sketch/Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" “MSG_OFF”.");
^
In file included from sketch/SdFile.h:27:0,
from sketch/cardreader.h:8,
from sketch/Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name ‘fpos_t’ after ‘struct’
struct fpos_t {
^
In file included from sketch/Marlin.h:10:0,
from sketch/Marlin_main.cpp:30:
/Users/adeser/Library/Arduino15/packages/arduino/tools/avr-gcc/4.9.2-atmel3.5.3-arduino2/avr/include/stdio.h:950:33: note: ‘fpos_t’ has a previous declaration here
extension typedef long long fpos_t;
^
exit status 1
using typedef-name ‘fpos_t’ after ‘struct’