Welcome! Log In Create A New Profile


Marlin Compile Error "Marlin.h:218: error: 'NUM_AXIS' was not declared in this scope"

Posted by henbenley 
I keep getting this error everytime that I try to compile marlin in order to send it to my board. Does anyone have any ideas to get this working for me?

Error Message
Marlin.h:218: error: 'NUM_AXIS' was not declared in this scope

Line in Question:
extern float current_position[NUM_AXIS];

Your problem is actually in Configuration.h, or maybe you're missing that entirely?

Here's what's in mine at line 393

#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0}  // set the homing speeds (mm/min)

Sorry, only registered users may post in this forum.

Click here to login