开源改变世界

cannot compile in IDE1.6.8 because of jog.c error: unknown type name ‘plan_line_data_t’ 编译失败 #159

推推 grbl 3年前 (2023-01-21) 200次浏览

关闭
denmorru 打开了这个问题 2017 年 3 月 20 日 · 2 条评论

注释

cannot compile in IDE1.6.8 because of jog.c error: unknown type name 'plan_line_data_t' 编译失败 #159

jog.c:25: 错误:未知类型名称 ‘plan_line_data_t’
uint8_t jog_execute(plan_line_data_t *pl_data, parser_block_t *gc_block)
退出状态 1
未知类型名称 ‘plan_line_data_t’

cannot compile in IDE1.6.8 because of jog.c error: unknown type name 'plan_line_data_t' 编译失败 #159
作者

解决方案:
删除文件 jog.c 和 jog.h
它们来自其他版本

cannot compile in IDE1.6.8 because of jog.c error: unknown type name 'plan_line_data_t' 编译失败 #159
贡献者

@denmorru: 这不是正确的解决方案。请按照有关使用 Arduino IDE 编译 Grbl 的 wiki 说明进行操作。首先,您需要使用 GrblUpload 示例对其进行编译,并且您需要删除 Arduino 库中所有现有的 grbl 安装。如果您不完全按照这些说明进行操作,您可能会遇到这样的问题。

喜欢 (0)