Welcome! Log In Create A New Profile

Advanced

marlin wont compile with sd card and ultipanel turned on

Posted by ekaggrat 
marlin wont compile with sd card and ultipanel turned on
December 28, 2013 10:03AM
hi

i have been trying to compile the latest version of marlin with sd card and ultipanel turned on for ramps... but it keeps giving a error ... Any idea what am i doing wrong... i have been using marlin since last 1 year but now i was trying to upgrade to the latest version to get the babystepping feature.. but it keeps giving a error on compile... with the ultipanel turned off it compiles fine...
Re: marlin wont compile with sd card and ultipanel turned on
December 28, 2013 10:54AM
We need information on the error. What exactly is it saying?
Re: marlin wont compile with sd card and ultipanel turned on
December 29, 2013 12:07AM
error dump :

ultralcd.cpp: In function 'void lcd_init()':
ultralcd.cpp:1008: error: 'SHIFT_CLK' was not declared in this scope
ultralcd.cpp:1009: error: 'SHIFT_LD' was not declared in this scope
ultralcd.cpp:1010: error: 'SHIFT_EN' was not declared in this scope
ultralcd.cpp:1011: error: 'SHIFT_OUT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_RPORT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_WPORT' was not declared in this scope
ultralcd.cpp:1012: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_RPORT' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1013: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_RPORT' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_PIN' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_PIN' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_PIN' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_WPORT' was not declared in this scope
ultralcd.cpp:1014: error: 'DIOSHIFT_EN_PIN' was not declared in this scope
ultralcd.cpp: In function 'void lcd_buttons_update()':
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_RPORT' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1201: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_RPORT' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_WPORT' was not declared in this scope
ultralcd.cpp:1202: error: 'DIOSHIFT_LD_PIN' was not declared in this scope
ultralcd.cpp:1207: error: 'DIOSHIFT_OUT_RPORT' was not declared in this scope
ultralcd.cpp:1207: error: 'DIOSHIFT_OUT_PIN' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_RPORT' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1209: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_RPORT' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_WPORT' was not declared in this scope
ultralcd.cpp:1210: error: 'DIOSHIFT_CLK_PIN' was not declared in this scope
Re: marlin wont compile with sd card and ultipanel turned on
December 29, 2013 12:58AM
Are you trying to compile this within the arduino IDE? How did you create your directory structure? Did you manually copy files around or try to merge the new marlin with the old?

The compiler is complaining that it can't find variable declarations. That usually happens when files end up in the wrong directories.
Re: marlin wont compile with sd card and ultipanel turned on
December 29, 2013 03:22AM
i downloaded marlin from github using download as zip and then tried to compile it in arduino 0.0023......
Re: marlin wont compile with sd card and ultipanel turned on
June 07, 2015 06:37PM
QUite the same issue here, but compiling seems to take for ever so no feedback yet
Sorry, only registered users may post in this forum.

Click here to login