Hello!
I'm getting the following error on compiling the marlin firmware for my printer (Marlin 1.1.3):
This is being compiled on a new machine, so I'm not sure if that has something to do with it. I've tried to remove extra instances of U8GLIB to no avail. I have a working firmware version loaded on the board, but I think my measurements are off in terms of build volume on the old firmware, so it needs to be updated. I've been working on this printer for years now off and on and I'm so very close to getting it running, this is driving me mad. I'm a bit of a novice with Marlin so this just eludes me and I don't know where to begin.
Any help would be greatly appreciated.
I'm getting the following error on compiling the marlin firmware for my printer (Marlin 1.1.3):
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)'
This is being compiled on a new machine, so I'm not sure if that has something to do with it. I've tried to remove extra instances of U8GLIB to no avail. I have a working firmware version loaded on the board, but I think my measurements are off in terms of build volume on the old firmware, so it needs to be updated. I've been working on this printer for years now off and on and I'm so very close to getting it running, this is driving me mad. I'm a bit of a novice with Marlin so this just eludes me and I don't know where to begin.
Any help would be greatly appreciated.