Contact me: hankecnc@gmail.com

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

推推 grbl 3年前 (2023-02-06) 222次浏览
关闭
ekaggrat 打开了这个问题 2013 年 12 月 26 日 · 8条评论
关闭

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译#694

ekaggrat 打开了这个问题 2013 年 12 月 26 日 · 8条评论

评论

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

marlin 不会编译 ultipanel 和 sd 卡支持打开斜坡(主板 33)….

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

错误转储?

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
marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694
贡献者

在arduino环境中可能选择了错误的板

伯恩哈德

在 2013 年 12 月 29 日星期日上午 6:04,ekaggrat notifications@github.com写道:

错误转储[图片:?]

ultralcd.cpp: 在函数 ‘void lcd_init()’ 中:
ultralcd.cpp:1008: 错误:’SHIFT_CLK’ 未在此范围内声明
ultralcd.cpp:1009: 错误:’SHIFT_LD’ 未在此范围内声明
ultralcd.cpp :1010:错误:’SHIFT_EN’ 未在此范围
ultralcd.cpp 中声明:1011:错误:’SHIFT_OUT’ 未在此范围
ultralcd.cpp 中声明:1012:错误:’DIOSHIFT_OUT_RPORT’ 未在此
范围
ultralcd 中声明。 cpp:1012: 错误:’DIOSHIFT_OUT_WPORT’ 未在此
范围内声明
ultralcd.cpp:1012: 错误:’DIOSHIFT_OUT_PIN’ 未在此范围内声明
ultralcd.cpp:1012: 错误:’DIOSHIFT_OUT_WPORT’ 未在此
范围内声明
ultralcd.cpp:1012: 错误:“DIOSHIFT_OUT_PIN”未在此范围内声明
ultralcd.cpp:1012: 错误:“DIOSHIFT_OUT_WPORT”未在此
范围内
声明范围
ultralcd.cpp:1012: 错误:’DIOSHIFT_OUT_WPORT’ 未在此
范围内声明
ultralcd.cpp:1012: 错误:’DIOSHIFT_OUT_PIN’ 未在此范围内声明
ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_RPORT’ 未在此范围内声明此
范围
ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_WPORT’ 未在此
范围内声明
ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内声明
ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_WPORT’ 未在此声明
范围
ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内声明ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_WPORT’ 未在此 范围内
声明 ultralcd.cpp:1013: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内 声明此范围 ultralcd.cpp:1013: 错误:未在此 范围内声明“DIOSHIFT_LD_WPORT” ultralcd.cpp:1013: 错误:未在此范围内声明“DIOSHIFT_LD_PIN” ultralcd.cpp:1014: 错误:未声明“DIOSHIFT_EN_RPORT”在此 范围内 ultralcd.cpp:1014: 错误:未在此 范围内声明“DIOSHIFT_EN_WPORT” ultralcd.cpp:1014: 错误:未在此范围内声明“DIOSHIFT_EN_PIN”

ultralcd.cpp:1014: 错误:“DIOSHIFT_EN_WPORT”未在此
范围内声明
ultralcd.cpp:1014: 错误:“DIOSHIFT_EN_PIN”未在此范围内
声明
范围
ultralcd.cpp:1014: 错误:’DIOSHIFT_EN_PIN’ 未在此范围内声明ultralcd.cpp:1014: 错误:’DIOSHIFT_EN_WPORT’ 未在此 范围内
声明 ultralcd.cpp:1014: 错误:’DIOSHIFT_EN_PIN’ 未在此范围内 声明此范围 ultralcd.cpp:在函数“void lcd_buttons_update()”中: ultralcd.cpp:1201:错误:“DIOSHIFT_LD_RPORT”未在此 范围内声明 ultralcd.cpp:1201:错误:“DIOSHIFT_LD_WPORT”未在此 范围内声明

ultralcd.cpp:1201: 错误:“DIOSHIFT_LD_PIN”未在此范围内声明
ultralcd.cpp:1201: 错误:“DIOSHIFT_LD_WPORT”未在此
范围内
声明范围
ultralcd.cpp:1201: 错误:’DIOSHIFT_LD_WPORT’ 未在此
范围内声明
ultralcd.cpp:1201: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内
声明此
范围
ultralcd.cpp:1201: 错误:未在此范围 ultralcd.cpp:1202 中声明“DIOSHIFT_LD_PIN” :错误:未在此 范围ultralcd.cpp:1202
中声明“DIOSHIFT_LD_RPORT” :错误:’DIOSHIFT_LD_WPORT’ 未在此声明

范围
ultralcd.cpp:1202: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内声明ultralcd.cpp:1202: 错误:’DIOSHIFT_LD_WPORT’ 未在此 范围内
声明 ultralcd.cpp:1202: 错误:’DIOSHIFT_LD_PIN’ 未在此范围内 声明此范围 ultralcd.cpp:1202: 错误:未在此范围内声明“DIOSHIFT_LD_WPORT” ultralcd.cpp:1202: 错误:未在此范围内声明“DIOSHIFT_LD_PIN” ultralcd.cpp :1202: 错误:未声明“DIOSHIFT_LD_WPORT”在此 范围内 ultralcd.cpp:1202: 错误:未在此范围内声明“DIOSHIFT_LD_PIN” ultralcd.cpp:1207: 错误:未在此 范围内声明“DIOSHIFT_OUT_RPORT”

ultralcd.cpp:1207: 错误:“DIOSHIFT_OUT_PIN”未在此范围内声明
ultralcd.cpp:1209: 错误:“DIOSHIFT_CLK_RPORT”未在此
范围内
声明
范围
ultralcd.cpp:1209: 错误:’DIOSHIFT_CLK_PIN’ 未在此范围内声明ultralcd.cpp:1209: 错误:’DIOSHIFT_CLK_WPORT’ 未在此 范围内
声明 ultralcd.cpp:1209: 错误:’DIOSHIFT_CLK_PIN’ 未在此范围内 声明此范围 ultralcd.cpp:1209: 错误:“DIOSHIFT_CLK_WPORT”未在此 范围内声明 ultralcd.cpp:1209: 错误:“DIOSHIFT_CLK_PIN”未在此范围内 声明DIOSHIFT_CLK_WPORT’ 未在此声明

范围
ultralcd.cpp:1209: 错误:’DIOSHIFT_CLK_PIN’ 未在此范围内声明
ultralcd.cpp:1210: 错误:’DIOSHIFT_CLK_RPORT’ 未在此
范围内声明 ultralcd.cpp:1210: 错误:’DIOSHIFT_CLK_WPORT’ 未在此范围内
声明此
范围
ultralcd.cpp:1210: 错误:未在此范围内声明“DIOSHIFT_CLK_PIN”
ultralcd.cpp:1210: 错误:未在此
范围内声明“DIOSHIFT_CLK_WPORT”
ultralcd.cpp:1210: 错误:未声明“DIOSHIFT_CLK_PIN”在此范围内
ultralcd.cpp:1210: 错误:未在此
范围内声明“DIOSHIFT_CLK_WPORT”
ultralcd.cpp:1210: 错误:未在此范围内声明“DIOSHIFT_CLK_PIN”
ultralcd.cpp:1210: 错误:未在此
范围内声明“DIOSHIFT_CLK_WPORT”
ultralcd.cpp:1210: 错误:未在此范围内声明“DIOSHIFT_CLK_PIN”


直接回复此电子邮件或在 GitHub 上查看它 https://github.com/ErikZalm/Marlin/issues/694#issuecomment-31311568

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

不,我选择的电路板是 1.3 坡道……所以我认为这不是问题所在

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694
贡献者

您必须在 arduino 环境
菜单中指定微控制器板(在蓝色条上方)。这与 configuration.h 无关。
例如 arduino mega 2560 或类似的。

伯恩哈德

在 2013 年 12 月 29 日星期日上午 10:22,ekaggrat notifications@github.com写道:

不,我选择的电路板是 1.3 坡道……所以我认为这不是问题所在


直接回复此电子邮件或在 GitHub 上查看它 https://github.com/ErikZalm/Marlin/issues/694#issuecomment-31314001

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

我已经使用 3d 打印机一年了,我指定了 mega 2560 …..它编译正常,没有选择 ultipanel,,,。

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

我只是检查它是否编译。我没有问题。我使用板 33 和启用的 ultimakerpanel 对其进行了测试。
(对原始配置文件仅有的 2 处更改)
我检查了 arduino 0023 和 1.0.5。

很难看出它为什么对你失败。

您能否从 github 上重新下载并仅将板更改为 33 并取消对 ultimakerpanel 的注释?
这对我来说没问题。

marlin 无法在打开 ultipanel 和 sd 支持的情况下进行编译 #694

哦,我和 ultimakerpanel 一起工作……谢谢……我试图用 ultimakerpanel 和单独启用的 sd 卡进行编译