Issues setting up Marlin

Hey I followed the instruction best I could in your Marlin post downloaded the B16_32_fullG-112515 – Full graphic LCD firmware- file and input U8glib files into the library but when I verify i get this message.

Arduino: 1.6.9 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\ultralcd.cpp:5:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\dogm_lcd_implementation.h:39:0,

             from sketch\ultralcd.cpp:39:

sketch\dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory

#include <utility/u8g.h>

                     ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Any Advice?

It doesn’t seem to see your U8glib files. To verify this comment out the Full graphic lcd in the config tab. If it works that way you need to install the U8 stuff again. Are you using the lcd srceen?

Sorry pretty new to playing with Arduino sketches I installed the U8glib files from within the Arduino IDE it says they are installed.

Arduino: 1.6.9 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\ConfigurationStore.cpp:65:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\Marlin_main.cpp:47:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                ^

In file included from sketch\cardreader.cpp:6:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\planner.cpp:59:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\stepper.cpp:29:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\ultralcd.cpp:5:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\dogm_lcd_implementation.h:39:0,

             from sketch\ultralcd.cpp:39:

sketch\dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory

#include <utility/u8g.h>

                     ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

I just tried to start over re downloaded the file you posted for the LCD display made sure the U8glib file was installed and hit verify this is what i got.

I do have the display from the kit you sell.

Please try the firmware without the full graphic enabled so we can verify if that is really the problem.

If you got it ll from me the full g firmware is pre flashed and you should not have to flash anything.

Yeah the only issue is im trying to follow the Laser setup and it requires a line of code to be changed the the firmware so I’m trying to learn how the firmware stuff works so i can know how it works but also so i can edit it for the laser.

So this is the message i got after verifying from the download without full graphics control.

In file included from sketch\ConfigurationStore.cpp:65:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\Marlin_main.cpp:47:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                ^

In file included from sketch\cardreader.cpp:6:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\planner.cpp:59:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\stepper.cpp:29:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\ultralcd.cpp:5:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

Sketch uses 102,448 bytes (40%) of program storage space. Maximum is 253,952 bytes.
Global variables use 4,224 bytes (51%) of dynamic memory, leaving 3,968 bytes for local variables. Maximum is 8,192 bytes.

I still suggest you try the non LCD one first. That way you aren’t trying to fix multiple problems at once, then try the laser edit, then try the LCD edit.

Mac or PC?

on PC i posted after i did the NON LCD version it looks like it did compile but there was still some errors? but it did tell me how much memory it would take up.

Make sure to close arduino all the way and then launch it by double clicking on this file, B16_32-LCD-112515.

I can’t replicate your error.

If you just hit verify, not upload does it work?

I have not hit upload yet. iv only hit verify and that’s the message i am getting. when i download the Zip file should i be unzipping it in a specific folder?

The folder has to be named the same name as the name of the file, B16_32-LCD-112515. I tried changing all kinds of settings and I can’t make it fail.

You are getting tons of tabs across the top of arduino when its open correct, like my screen shots?

So just to find out if im missing something. I download the Arduino 1.6.9. then i downloaded your NON LCD FILE and extracted it to a new folder on my desktop open up the file and open the file named B16_32-LCD-112515.ino which opened up the Arduino interface with a bunch of tabs i then hit Verify and this is what i get when i finished compiling.

In file included from sketch\ConfigurationStore.cpp:65:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\Marlin_main.cpp:47:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

sketch\Marlin_main.cpp:2715:36: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

     LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                ^

In file included from sketch\cardreader.cpp:6:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\planner.cpp:59:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\stepper.cpp:29:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\ultralcd.cpp:5:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

Sketch uses 102,448 bytes (40%) of program storage space. Maximum is 253,952 bytes.
Global variables use 4,224 bytes (51%) of dynamic memory, leaving 3,968 bytes for local variables. Maximum is 8,192 bytes.

Screenshot

get rid of your u8glib, I think you got the wrong one. I did a google search and the v1engineering.com forums popped up…apparently this has happened before. There is a bad u8glib file out there.

Delete it restart Arduino verify it is gone and try to flash again.

Hmmm I left the Arduino IDE open for a lil bit as i looked through the files to try and figure out what was wrong and I got a notification that my arduino libraries had updated and there were changes so i hit compile right after that and it worked with no issues.

So now I have to see if I can get it to work with the full Graphics file

I still get this error when trying to use the full Graphic download. Arduino: 1.6.9 (Windows 10), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

In file included from sketch\ultralcd.cpp:5:0:

sketch\language.h:65:0: warning: “MACHINE_NAME” redefined [enabled by default]

#define MACHINE_NAME CUSTOM_MENDEL_NAME

^

sketch\language.h:61:0: note: this is the location of the previous definition

#define MACHINE_NAME “Mendel”

^

In file included from sketch\dogm_lcd_implementation.h:39:0,

             from sketch\ultralcd.cpp:39:

sketch\dogm_font_data_marlin.h:12:25: fatal error: utility/u8g.h: No such file or directory

#include <utility/u8g.h>

                     ^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

So did you get rid of that library and download the right one, from my link?

Or you can follow the link that is in the config.h file