MakerLab创客实验室 — Let's Make something.
现在注册
已注册用户请 登入
lyf1150 large avatar
MakerLab创客实验室  ›  Arduino

我编译完,验证后出现的错误提示,怎么处理?

By lyf1150 at 4 个月前 , 317 次浏览

Arduino:1.5.6-r2 (Mac OS X), 板:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from dogm_lcd_implementation.h:38,
from ultralcd.cpp:36:
dogm_font_data_marlin.h:13: error: 'u8g_fntpgm_uint8_t' does not name a type
dogm_font_data_marlin.h:172: error: 'u8g_fntpgm_uint8_t' does not name a type
dogm_font_data_marlin.h:356: error: 'u8g_fntpgm_uint8_t' does not name a type
In file included from ultralcd.cpp:36:
dogm_lcd_implementation.h:95: error: 'U8GLIB_MINI12864' does not name a type
dogm_lcd_implementation.h: In function 'void lcd_implementation_init()':
dogm_lcd_implementation.h:115: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h:117: error: 'u8g_font_6x10_marlin' was not declared in this scope
dogm_lcd_implementation.h:141: error: 'u8g_font_6x10_marlin' was not declared in this scope
dogm_lcd_implementation.h:143: error: 'u8g_font_5x8' was not declared in this scope
dogm_lcd_implementation.h:148: error: 'chinese' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_printPGM(const char*)':
dogm_lcd_implementation.h:185: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_status_screen()':
dogm_lcd_implementation.h:195: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h:211: error: 'u8g_font_6x9' was not declared in this scope
dogm_lcd_implementation.h:345: error: 'u8g_font_6x10_marlin' was not declared in this scope
dogm_lcd_implementation.h:355: error: 'chinese' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_generic(uint8_t, const char*, char, char)':
dogm_lcd_implementation.h:373: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h:380: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h:382: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic(uint8_t, const char*, char, char*)':
dogm_lcd_implementation.h:407: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_setting_edit_generic_P(uint8_t, const char*, char, const char*)':
dogm_lcd_implementation.h:432: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawedit(const char*, char*)':
dogm_lcd_implementation.h:489: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h:491: error: 'chinese' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_sdfile_selected(uint8_t, const char*, const char*, char*)':
dogm_lcd_implementation.h:515: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_sdfile(uint8_t, const char*, const char*, char*)':
dogm_lcd_implementation.h:544: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_sddirectory_selected(uint8_t, const char*, const char*, char*)':
dogm_lcd_implementation.h:570: error: 'u8g' was not declared in this scope
dogm_lcd_implementation.h: In function 'void lcd_implementation_drawmenu_sddirectory(uint8_t, const char*, const char*, char*)':
dogm_lcd_implementation.h:601: error: 'u8g' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_x()':
ultralcd.cpp:467: error: 'faise' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_y()':
ultralcd.cpp:497: error: 'faise' was not declared in this scope
ultralcd.cpp: In function 'void lcd_move_z()':
ultralcd.cpp:527: error: 'faise' was not declared in this scope
ultralcd.cpp: In function 'void lcd_update()':
ultralcd.cpp:1118: error: 'u8g' was not declared in this scope
ultralcd.cpp:1122: error: 'chinese' was not declared in this scope

报告将会包含更多的信息
"Show verbose output during compilation"
在 文件>首选项 中启用

1 回复
philip medium avatar
#1 - 4 个月前
philip   via Android

看看是否少了ug8lib