Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when compiling for Dual Z axis support #60

Open
octico opened this issue Oct 24, 2021 · 1 comment
Open

Error when compiling for Dual Z axis support #60

octico opened this issue Oct 24, 2021 · 1 comment

Comments

@octico
Copy link

octico commented Oct 24, 2021

Trying to compile Marlin latest bugfix to enable dual z axis. I uncomment :
#define Z_STEPPER_AUTO_ALIGN
and when build it fails with the following error:

compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\LCD_I2C_routines.cpp.o
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\HAL_MinSerial.cpp:24:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\HAL.cpp:24:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\HAL_SPI.cpp:51:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\eeprom_wired.cpp:24:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\eeprom_sdcard.cpp:29:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\MarlinSerial.cpp:26:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\eeprom_flash.cpp:39:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\main.cpp:34:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\tft\tft_spi.cpp:23:
Marlin\src\HAL\LPC1768\tft../../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768\tft../../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\tft\xpt2046.cpp:23:
Marlin\src\HAL\LPC1768\tft../../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
In file included from Marlin\src\HAL\LPC1768../../inc/MarlinConfig.h:49,
from Marlin\src\HAL\LPC1768\timers.cpp:31:
Marlin\src\HAL\LPC1768../../inc/SanityCheck.h:3364:6: error: #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
3364 | #error "Z_STEPPER_AUTO_ALIGN requires a Z-bed probe."
| ^~~~~
Compiling .pio\build\LPC1769\src\src\HAL\LPC1768\u8g\u8g_com_HAL_LPC1768_hw_spi.cpp.o
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL_MinSerial.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_wired.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_sdcard.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\HAL_SPI.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\eeprom_flash.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\main.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\MarlinSerial.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\tft_spi.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\tft\xpt2046.cpp.o] Error 1
*** [.pio\build\LPC1769\src\src\HAL\LPC1768\timers.cpp.o] Error 1
========================================================================================== [FAILED] Took 3.17 seconds ==========================================================================================
Environment Status Duration


LPC1769 FAILED 00:00:03.174

@octico octico changed the title Error when comping for Dual Z axis support Error when compiling for Dual Z axis support Oct 24, 2021
@Contrasens
Copy link

Contrasens commented Oct 25, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants