Welcome! Log In Create A New Profile

Advanced

Arduino compile error Full graphics controller

Posted by Focussys 
Arduino compile error Full graphics controller
November 11, 2014 03:22AM
Hi all you techies.

Just built my Prusa i3 and hit a snag installing my Full Graphics Controller.

I have set up and compiled Marlin without the controller installed and everything prints fine

When uploading with the controller defined I get an error with the following orange text:

]Marlin_main.cpp: In function 'void process_commands()':
Marlin_main.cpp:1631:31: error: 'allow_cold_extrudes' was not declared in this scope
allow_cold_extrudes(true);
^
Error compiling.


Anyone got any ideas how I can solve this and get my display going?

Many thanks
Re: Arduino compile error Full graphics controller
November 12, 2014 05:18PM
allow_cold_extrudes does not seem to appear in the latest version of Marlin. Maybe try upgrading to the latest version?


[3DKarma.com] - suppliers of quality, affordable 3D printer kits and filament for the UK market.
Re: Arduino compile error Full graphics controller
November 13, 2014 01:17AM
Hi

Many thanks for coming back.

I have downloaded a new version from Github, copied the libraries to arduino and defined the full graphic card. I think I made it worse!

Here is the error I get now:

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
In file included from /dogm_lcd_implementation.h:40,
from ultralcd.cpp:36:
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g_t' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'u8g_dev_t' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: 'dev' was not declared in this scope
ultralcd_st7920_u8glib_rrd.h:43: error: expected primary-expression before 'msg'
ultralcd_st7920_u8glib_rrd.h:43: error: expected primary-expression before 'void'
ultralcd_st7920_u8glib_rrd.h:43: error: initializer expression list treated as compound expression
ultralcd_st7920_u8glib_rrd.h:44: error: expected ',' or ';' before '{' token


The original instructions looked so simple, now I am really confused!
Re: Arduino compile error Full graphics controller
November 13, 2014 03:00AM
You need to install U8glib to your ARDUINO library folder: [code.google.com]


[3DKarma.com] - suppliers of quality, affordable 3D printer kits and filament for the UK market.
Re: Arduino compile error Full graphics controller
November 13, 2014 04:40AM
Hi

Most appreciated.

I did most of the work on a tablet and forgot to include U8glib in the main PC libraries folder.when I transferred it.

All working fine now.

Many, many thanks.
Sorry, only registered users may post in this forum.

Click here to login