First time install of Marlin.

3D Modelling, Slicing, Hosts and Management
Post Reply
roontoon
Posts: 5
Joined: Sat Sep 08, 2018 5:50 pm

First time install of Marlin.

Post by roontoon » Sat Sep 08, 2018 5:52 pm

Hi. I am. building a hypercube core xy printer which is the first printer I have built and I am getting an error when installing marlin.. Below is the error and I would appreciated any help, Thanks,

Arduino: 1.8.6 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Conditionals.h:27:2: error: #error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."
#error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."
^
exit status 1
#error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."

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

oakdesign
Posts: 109
Joined: Thu Jun 15, 2017 10:21 am

Re: First time install of Marlin.

Post by oakdesign » Sat Sep 08, 2018 8:28 pm

First of all Arduino 1.8.6 is currently incompatible with Marlin due to a bug in the gcc. Haven't tested with OSX version but for sure 1.8.6 won't compile on a Windows system. But the error would be different due to inline comments.

Could you attach your configuration.h as well as configuration_adv.h and Marlin version you are trying to compile to be able to advice further

Regard Richard
Opa's bester Rat: Probieren geht über Studieren, Grandpas best advice: the proof of the pudding is in the eating

roontoon
Posts: 5
Joined: Sat Sep 08, 2018 5:50 pm

Re: First time install of Marlin.

Post by roontoon » Sun Sep 09, 2018 2:00 am

Attached. Thanks
Attachments
Archive.zip
(40.23 KiB) Downloaded 19 times

roontoon
Posts: 5
Joined: Sat Sep 08, 2018 5:50 pm

Re: First time install of Marlin.

Post by roontoon » Sun Sep 09, 2018 2:08 am

Downgraded to 1.8.5 with same error.

Arduino: 1.8.5 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Conditionals.h:27: error: #error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."
#error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."
^
exit status 1
#error "Old configurations? Please delete all #include lines from Configuration.h and Configuration_adv.h."

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

roontoon
Posts: 5
Joined: Sat Sep 08, 2018 5:50 pm

Re: First time install of Marlin.

Post by roontoon » Sun Sep 09, 2018 2:21 am

Just rolled back to 1.6.13 and get the same error.

oakdesign
Posts: 109
Joined: Thu Jun 15, 2017 10:21 am

Re: First time install of Marlin.

Post by oakdesign » Sun Sep 09, 2018 10:40 am

Your config don't match the Marlin Version you are using. So from the configuration.h and configuration_adv.h you uploaded these are pre 1.1.9 and even worth

Code: Select all

#define CONFIGURATION_H_VERSION 010100
and

Code: Select all

#define CONFIGURATION_ADV_H_VERSION 010100
Don't match and don't pass the sanitycheck

Code: Select all

**
 * We try our best to include sanity checks for all changed configuration
 * directives because users have a tendency to use outdated config files with
 * the bleeding-edge source code, but sometimes this is not enough. This check
 * forces a minimum config file revision. Otherwise Marlin will not build.
 */
#define HEXIFY(H) _CAT(0x,H)
#if !defined(CONFIGURATION_H_VERSION) || HEXIFY(CONFIGURATION_H_VERSION) < HEXIFY(REQUIRED_CONFIGURATION_H_VERSION)
  #error "You are using an old Configuration.h file, update it before building Marlin."
#endif

#if !defined(CONFIGURATION_ADV_H_VERSION) || HEXIFY(CONFIGURATION_ADV_H_VERSION) < HEXIFY(REQUIRED_CONFIGURATION_ADV_H_VERSION)
  #error "You are using an old Configuration_adv.h file, update it before building Marlin."
#endif
I would suggest get yourself a clean copy of Marlin. directly out of the the git repoitory
Either latest 1.1.9
https://github.com/MarlinFirmware/Marli ... 1.9/Marlin
or bugfix branch
https://github.com/MarlinFirmware/Marli ... 1.x/Marlin

Regard Richard
Opa's bester Rat: Probieren geht über Studieren, Grandpas best advice: the proof of the pudding is in the eating

roontoon
Posts: 5
Joined: Sat Sep 08, 2018 5:50 pm

Re: First time install of Marlin.

Post by roontoon » Sun Sep 09, 2018 6:36 pm

Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests