shooter64738 / grbl-mega

Grbl Mega 2560 with Backlash Compensation
14 stars 12 forks source link

Compiling #14

Open diegocowes opened 2 years ago

diegocowes commented 2 years ago

Hi, im having trouble compiling with the arduino IDE. I get the followin error. `Arduino: 1.8.15 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Users\diego\Documents\Arduino\libraries\grbl\settings.c:61:32: error: 'DEFAULT_X_BACKLASH_MM' undeclared here (not in a function); did you mean 'DEFAULT_X_STEPS_PER_MM'?

 .backlash_per_axis[X_AXIS]=DEFAULT_X_BACKLASH_MM,

                            ^~~~~~~~~~~~~~~~~~~~~

                            DEFAULT_X_STEPS_PER_MM

C:\Users\diego\Documents\Arduino\libraries\grbl\settings.c:62:32: error: 'DEFAULT_Y_BACKLASH_MM' undeclared here (not in a function); did you mean 'DEFAULT_X_BACKLASH_MM'?

 .backlash_per_axis[Y_AXIS]=DEFAULT_Y_BACKLASH_MM,

                            ^~~~~~~~~~~~~~~~~~~~~

                            DEFAULT_X_BACKLASH_MM

C:\Users\diego\Documents\Arduino\libraries\grbl\settings.c:63:32: error: 'DEFAULT_Z_BACKLASH_MM' undeclared here (not in a function); did you mean 'DEFAULT_Y_BACKLASH_MM'?

 .backlash_per_axis[Z_AXIS]=DEFAULT_Z_BACKLASH_MM,};

                            ^~~~~~~~~~~~~~~~~~~~~

                            DEFAULT_Y_BACKLASH_MM

exit status 1

Error compiling for board Arduino Mega or Mega 2560.

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. `