U8GLIB Error, preventing compiling November 05, 2019 07:41AM |
Registered: 8 years ago Posts: 33 |
In file included from sketch\ultralcd.cpp:65:0: sketch\ultralcd_impl_DOGM.h: In function 'void lcd_implementation_init()': ultralcd_impl_DOGM.h:308:94: error: no matching function for call to 'U8GLIB_ST7920_128X64_RRD::drawStr(const uint8_t&, int, double)' u8g.drawStr(txt1X, u8g.getHeight() - (DOG_CHAR_HEIGHT) * 3 / 2, STRING_SPLASH_LINE1); ^ In file included from sketch\ultralcd_st7920_u8glib_rrd.h:41:0, from sketch\ultralcd_impl_DOGM.h:46, from sketch\ultralcd.cpp:65: C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:171:16: note: candidate: u8g_uint_t U8GLIB::drawStr(u8g_uint_t, u8g_uint_t, const char*) u8g_uint_t drawStr(u8g_uint_t x, u8g_uint_t y, const char *s) { return u8g_DrawStr(&u8g, x, y, s); } ^~~~~~~ C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:171:16: note: no known conversion for argument 3 from 'double' to 'const char*' C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:201:16: note: candidate: u8g_uint_t U8GLIB::drawStr(u8g_uint_t, u8g_uint_t, const __FlashStringHelper*) u8g_uint_t drawStr(u8g_uint_t x, u8g_uint_t y, const __FlashStringHelper *s) { return u8g_DrawStrP(&u8g, x, y, (u8g_pgm_uint8_t *)s); } ^~~~~~~ C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:201:16: note: no known conversion for argument 3 from 'double' to 'const __FlashStringHelper*' Multiple libraries were found for "U8glib.h" Used: C:\Users\Owner\Documents\Arduino\libraries\U8glib exit status 1 no matching function for call to 'U8GLIB_ST7920_128X64_RRD::drawStr(const uint8_t&, int, double)'
Re: U8GLIB Error, preventing compiling November 05, 2019 08:17AM |
Admin Registered: 13 years ago Posts: 6,999 |
Re: U8GLIB Error, preventing compiling November 05, 2019 08:44AM |
Registered: 8 years ago Posts: 33 |
Re: U8GLIB Error, preventing compiling November 05, 2019 04:52PM |
Registered: 8 years ago Posts: 33 |
Re: U8GLIB Error, preventing compiling November 05, 2019 05:03PM |
Admin Registered: 13 years ago Posts: 6,999 |
Re: U8GLIB Error, preventing compiling November 05, 2019 05:13PM |
Registered: 8 years ago Posts: 33 |
Quote
Dust
You replaced the brain of your printer with a new brain, but didn't teach it anything about the body it was in...
You need to configure the firmware to match your hardware.
Re: U8GLIB Error, preventing compiling November 05, 2019 06:38PM |
Admin Registered: 13 years ago Posts: 6,999 |
Re: U8GLIB Error, preventing compiling November 06, 2019 12:57PM |
Registered: 8 years ago Posts: 33 |
#define DEFAULT_MAX_ACCELERATION (4500, 4500, 50, 3200)
Re: U8GLIB Error, preventing compiling November 07, 2019 12:19PM |
Registered: 8 years ago Posts: 33 |