Error Compiling Message in DEV firmware

When I try to compile the firmware I get an error message

In the configuration.h file I have set #define HAVE_HEATED_BED 0

But the UI seems to have a heated bed menu even though I marked that I don't have a heated bed.

Is this the reason the firmware won't let me execute any Gcode?

The error message is pasted below...


Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from Repetier.h:586:0,
                 from ui.cpp:20:
uimenu.h:1285: error: expected '}' before 'UI_MENU_PREHEAT_BED'
 #define UI_MENU_PREHEAT_SUB {&ui_menu_preheat_hdl UI_MENU_ADDCONDBACK_C UI_MENU_PREHEAT_BED UI_MENU_PREHEAT_EXT0 UI_MENU_PREHEAT_EXT1 UI_MENU_PREHEAT_EXT2 UI_MENU_PREHEAT_EXT3 UI_MENU_PREHEAT_EXT4 UI_MENU_PREHEAT_EXT5}
                                                                         ^
ui.h:526:93: note: in definition of macro 'UI_MENU'
 #define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
                                                                                             ^
uimenu.h:1286:30: note: in expansion of macro 'UI_MENU_PREHEAT_SUB'
 UI_MENU(ui_menu_preheat_sub, UI_MENU_PREHEAT_SUB, UI_MENU_BACKCNT + 1 + HAVE_HEATED_BED + NUM_EXTRUDER)
                              ^
uimenu.h:1285: error: expected ',' or ';' before 'UI_MENU_PREHEAT_BED'
 #define UI_MENU_PREHEAT_SUB {&ui_menu_preheat_hdl UI_MENU_ADDCONDBACK_C UI_MENU_PREHEAT_BED UI_MENU_PREHEAT_EXT0 UI_MENU_PREHEAT_EXT1 UI_MENU_PREHEAT_EXT2 UI_MENU_PREHEAT_EXT3 UI_MENU_PREHEAT_EXT4 UI_MENU_PREHEAT_EXT5}
                                                                         ^
ui.h:526:93: note: in definition of macro 'UI_MENU'
 #define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
                                                                                             ^
uimenu.h:1286:30: note: in expansion of macro 'UI_MENU_PREHEAT_SUB'
 UI_MENU(ui_menu_preheat_sub, UI_MENU_PREHEAT_SUB, UI_MENU_BACKCNT + 1 + HAVE_HEATED_BED + NUM_EXTRUDER)
                              ^
uimenu.h:1285: error: expected declaration before '}' token
 #define UI_MENU_PREHEAT_SUB {&ui_menu_preheat_hdl UI_MENU_ADDCONDBACK_C UI_MENU_PREHEAT_BED UI_MENU_PREHEAT_EXT0 UI_MENU_PREHEAT_EXT1 UI_MENU_PREHEAT_EXT2 UI_MENU_PREHEAT_EXT3 UI_MENU_PREHEAT_EXT4 UI_MENU_PREHEAT_EXT5}
                                                                                                                                                                                                                          ^
ui.h:526:93: note: in definition of macro 'UI_MENU'
 #define UI_MENU(name,items,itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries};
                                                                                             ^
uimenu.h:1286:30: note: in expansion of macro 'UI_MENU_PREHEAT_SUB'
 UI_MENU(ui_menu_preheat_sub, UI_MENU_PREHEAT_SUB, UI_MENU_BACKCNT + 1 + HAVE_HEATED_BED + NUM_EXTRUDER)
                              ^
expected '}' before 'UI_MENU_PREHEAT_BED'

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

Comments

Sign In or Register to comment.