Display change not compiling

I am putting together my Prusa i3 and when I change #define FEATURE_CONTROLLER 0 to something other than zero, it will not compile. I have Arduino 1.6.7 and I believe I have Protocol Version 1.0. I am trying to get my Ramps 1.4 board to work with the full graphic smart controller I have. Any help would be appreciated as I am at a loss. I included some of the error messages below.

When I compile, I get a host of warnings that somethings is redefined, such as (I get these even when it does compile). 
sketch\uimenu.h:600:0: warning: "UI_MENU_ADV_CNT" redefined [enabled by default]
  #define UI_MENU_ADV_CNT 1
  ^

And a section of errors, the first of which is:

ui.cpp:2016: error: ISO C++ forbids declaration of 'type name' with no type [-fpermissive]
      uint8_t mtype = HAL::readFlashByte((const prog_char*)&(men->menuType));
                                               ^

Comments

  • Sounds like you are compiling 0.91 version. That is not compatible with newer arduino versions due to changes in arduino ide. Please switch to 0.92.8 to compile with latest Arduino IDE and with latest features.
  • That does seem to do the trick with it compiling. Thanks greatly!
Sign In or Register to comment.