Thanks for your comment @Dust
Attaching files is not needed anymore because I fixed it!
The problem was that points of the 3-point validation mesh were not reachable by the probe. I changed PROBE_PT_1_X and PROBE_PT_2_X to 48 (which is the x-value of my NOZZLE_TO_PROBE_OFFSET) such that these points were actually reachable by the BLTouch.
If you have the same problem and are tweaking things, please note that MESH_MIN_X is referring to the position of the nozzle, not the probe (Same goes for corresp. Y and MAX values). But it doesn't require you to change these anyway, so just leave them commented out.
Posting the whole error message would have helped, because there you can clearly see that there are errors for three valitation points:
In file included from Marlin\src\MarlinCore.cpp:194:0:
Marlin\src\module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin\src\module/probe.h:213:40: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
^
Marlin\src\module/probe.h:215:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
Marlin\src\module/probe.h:213:40: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
^
Marlin\src\module/probe.h:215:33: note: in expansion of macro 'VALIDATE_PROBE_PT'
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\MarlinCore.cpp.o] Error 1
In file included from Marlin\src\feature\bedlevel\ubl\ubl.cpp:37:0:
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:213:40: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
^
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:215:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:213:40: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
^
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:215:33: note: in expansion of macro 'VALIDATE_PROBE_PT'
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\feature\bedlevel\ubl\ubl.cpp.o] Error 1
In file included from Marlin\src\feature\bedlevel\ubl\ubl_G29.cpp:37:0:
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h: In static member function 'static void Probe::get_three_points(T*)':
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:213:40: error: static assertion failed: PROBE_PT_1_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
^
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:215:11: note: in expansion of macro 'VALIDATE_PROBE_PT'
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
Marlin\src\feature\bedlevel\ubl\../../../module/probe.h:213:40: error: static assertion failed: PROBE_PT_2_(X|Y) is unreachable using default NOZZLE_TO_PROBE_OFFSET and PROBING_MARGIN
#define VALIDATE_PROBE_PT(N) static_assert(Probe::build_time::can_reach(xy_pos_t{PROBE_PT_##N##_X, PROBE_PT_##N##_Y}), \
VALIDATE_PROBE_PT(1); VALIDATE_PROBE_PT(2); VALIDATE_PROBE_PT(3);
^~~~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RC_btt_512K\src\src\feature\bedlevel\ubl\ubl_G29.cpp.o] Error 1
Edited 1 time(s). Last edit at 05/07/2021 04:06AM by maludo99.