Contact me: hankecnc@gmail.com

修复Linux上的构建错误。 #51

推推 grbl 3年前 (2023-01-25) 459次浏览

对话

修复Linux上的构建错误。 #51

构建失败,出现以下两个错误,以及一些关于在速度查找表中需要一些常量的抱怨。
temperature.cpp:在函数”int temp2模拟(int,uint8_t)”中:
温度。CPP:283:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”浮点模拟2temp(int,uint8_t)”中:
温度。CPP:353:7: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最大温度错误(uint8_t)”中:
温度。CPP:582:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效最小温度错误(uint8_t)”中:
温度。cpp:589:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’
temperature.cpp:在函数”无效床最大温度错误()”中:
温度。CPP:595:3: 错误:变量”c”必须是常量,才能通过”__attribute((progmem))”放入只读节c’ must be const in order to be put into read-only section by means of ‘__attribute((progmem))’

修复Linux上的构建错误。 #51
作者

Daid的Pull请求#56是一个更好的解决方案。

修复Linux上的构建错误。 #51 恩图 关闭此 on Feb 4, 2012
修复Linux上的构建错误。 #51 DVD播放器 我提到了这个拉取请求 on Apr 6, 2013
思想家 参考的 该拉取请求 在thinkyhead/马林 on Dec 3, 2016

思想家 参考的 该拉取请求 在thinkyhead/马林 on Sep 7, 2019

托诺基普 推送提交 到终极机器/马林鱼 引用了 该拉取请求 on Jan 25, 2022

奥莱克西苏普龙 推送提交 至奥莱克西-苏伦/fb-幽灵5-马林 引用了 该拉取请求 on Feb 13, 2022

格威3R特伦 推送提交 至qw3rtrun/马林 引用了 该拉取请求 on Sep 8, 2022

免费注册 加入GitHub上的对话。 已经有账户? 登录以发表评论
标签
还没有
项目

还没有

发展

成功合并此拉取请求可能会解决这些问题。

还没有

1名参与者
修复Linux上的构建错误。 #51

喜欢 (0)