First time install of Marlin.

#1

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.

0 Likes

#2

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

0 Likes

#3

Attached. Thanks

0 Likes

#4

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.

0 Likes

#5

Just rolled back to 1.6.13 and get the same error.

0 Likes

#6

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

#define CONFIGURATION_H_VERSION 010100

and

#define CONFIGURATION_ADV_H_VERSION 010100

Don’t match and don’t pass the sanitycheck

**
 * 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


or bugfix branch

Regard Richard

0 Likes

#7

Thanks.

0 Likes