MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 118 forks source link

Error when compiling in Arduino IDE #826

Closed Madebotix closed 3 years ago

Madebotix commented 3 years ago

Please, follow this template when opening a new issue: this will help us a lot in the process of helping you.

Keep on recieving this error when compiling the firmware in Arduino IDE. Please help.

Compile errors

In file included from c:\users\calebd~1\appdata\local\temp\arduino_build_116177\sketch\mk4duo.h:140:0, from C:\Users\CALEBD~1\AppData\Local\Temp\arduino_build_116177\sketch\src\lcd\menu\menu_tune.cpp:27: C:\Users\CALEBD~1\AppData\Local\Temp\arduino_build_116177\sketch\src\lcd\menu\menu_tune.cpp: In function 'void _lcd_babystep(AxisEnum, const char*)': C:\Users\CALEBD~1\AppData\Local\Temp\arduino_build_116177\sketch\src\lcd\menu\menu_tune.cpp:64:36: error: 'MSG_BABYSTEP_TOTAL' is not a member of 'language_en' lcd_put_u8str_P(GET_TEXT(MSG_BABYSTEP_TOTAL)); ^ c:\users\calebd~1\appdata\local\temp\arduino_build_116177\sketch\src/language/language.h:400:59: note: in definition of macro 'GET_TEXT'

define GET_TEXT(MSG) GET_LANG(LCD_LANGUAGE_0)::MSG

                                                       ^~~

C:\Users\CALEBD~1\AppData\Local\Temp\arduino_build_116177\sketch\src\lcd\menu\menu_tune.cpp:64:36: note: suggested alternative: 'MSG_BABYSTEP_Z' lcd_put_u8str_P(GET_TEXT(MSG_BABYSTEP_TOTAL)); ^ c:\users\calebd~1\appdata\local\temp\arduino_build_116177\sketch\src/language/language.h:400:59: note: in definition of macro 'GET_TEXT'

define GET_TEXT(MSG) GET_LANG(LCD_LANGUAGE_0)::MSG

                                                       ^~~