Welcome! Log In Create A New Profile

Advanced

Compiling error exit status 1 #endif without #if

Posted by Cinpro 
Compiling error exit status 1 #endif without #if
March 13, 2017 11:40AM
I was following a "How To" on adding Marlin and the BL Touch sensor. When I finished the instructions and verified the file I came up with the following error.

exit status 1
#endif without #if

#endif //__CONFIGURATION_H

Would someone be willing to look at my Congifuration.h file and see where I went wrong? I read a couple of articals, but those apparently weren't my issue. sad smiley
Attachments:
open | download - Configuration.h (55.1 KB)
Re: Compiling error exit status 1 #endif without #if
March 13, 2017 07:34PM
you have

//#if ENABLED(RGB_LED)
#define RGB_LED_R_PIN 34
#define RGB_LED_G_PIN 43
#define RGB_LED_B_PIN 35
#endif


change first line to
#if ENABLED(RGB_LED)
Re: Compiling error exit status 1 #endif without #if
March 15, 2017 12:49PM
that didn't make any difference sad smiley
Re: Compiling error exit status 1 #endif without #if
March 17, 2017 01:46PM
Looks like a superfluous line to me... I suggest you try commenting out the offending #endif and see if it will then compile

// #endif //_CONFIGURATION_H

failing that..try

#endif CONFIGURATION_H

Edited 1 time(s). Last edit at 03/17/2017 01:51PM by dart16.
Sorry, only registered users may post in this forum.

Click here to login