Welcome! Log In Create A New Profile

Advanced

Marlin 1.0.1 compile errors

Posted by randyf1965 
Marlin 1.0.1 compile errors
January 13, 2015 07:01PM
I downloaded the latest Marlin firmware and modified the configuration.h based on my OLD configuration.h file and get errors when I compile. Not very descriptive to me!

In file included from /Marlin.h:22,
from BlinkM.cpp:5:
/Configuration.h:445:9: error: floating constant in preprocessor expression
/Configuration.h:450:13: error: floating constant in preprocessor expression

Line 445 and 450 are as follows:
#if Y_PROBE_OFFSET_FROM_EXTRUDER < 0
#if ((Y_PROBE_OFFSET_FROM_EXTRUDER * AUTO_BED_LEVELING_GRID_POINTS) >= (BACK_PROBE_BED_POSITION - FRONT_PROBE_BED_POSITION))
Re: Marlin 1.0.1 compile errors
January 14, 2015 10:07PM
I had the same problem this evening. I couldn't fix it, but I think I found a work around. You can still use the old 3-point mode. Just comment out;
//#define AUTO_BED_LEVELING_GRID
This allowed me to compile.Then be sure to set up the x,y cords for the absolute, 3-point method;
#define ABL_PROBE_PT_1_X 90
#define ABL_PROBE_PT_1_Y 50
#define ABL_PROBE_PT_2_X 130
#define ABL_PROBE_PT_2_Y 120
#define ABL_PROBE_PT_3_X 50
#define ABL_PROBE_PT_3_Y 120
For the time being, I will be stuck with the 3-point method.
Sorry, only registered users may post in this forum.

Click here to login