Closed mava70 closed 4 years ago
Problem compiling with enabled:
In file included from sketch\MK4duo.h:104:0,
from C:\Users\marco_t3jnu1h\Desktop\Mk4duo 4.4.0\MK4duo\MK4duo.ino:359:
sketch\src/lib/types.h: In function 'void toLogical(xy_pos_t&)':
sketch\src/lib/types.h:153:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xy_pos_t &raw) { raw += mechanics.workspace_offset; }
^
sketch\src/lib/types.h: In function 'void toLogical(xyz_pos_t&)':
sketch\src/lib/types.h:154:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xyz_pos_t &raw) { raw += mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toLogical(xyze_pos_t&)':
sketch\src/lib/types.h:155:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xyze_pos_t &raw) { raw += mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xy_pos_t&)':
sketch\src/lib/types.h:156:52: error: 'mechanics' was not declared in this scope
inline void toNative(xy_pos_t &raw) { raw -= mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xyz_pos_t&)':
sketch\src/lib/types.h:157:52: error: 'mechanics' was not declared in this scope
inline void toNative(xyz_pos_t &raw) { raw -= mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xyze_pos_t&)':
sketch\src/lib/types.h:158:52: error: 'mechanics' was not declared in this scope
inline void toNative(xyze_pos_t &raw) { raw -= mechanics.workspace_offset; }
exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
4.4.0
Error appear by decommenting :
overall.txt
Please be patient, we'll be trying to help you as soon as possible.
I can confirm that also by reconfiguring the option with the configurator the compilation problem remain. While reverting back to 4.3.9 compile without problem. I am downgrading to oldest version.
Issue description
Problem compiling with enabled:
Compile errors
In file included from sketch\MK4duo.h:104:0,
sketch\src/lib/types.h: In function 'void toLogical(xy_pos_t&)':
sketch\src/lib/types.h:153:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xy_pos_t &raw) { raw += mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toLogical(xyz_pos_t&)':
sketch\src/lib/types.h:154:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xyz_pos_t &raw) { raw += mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toLogical(xyze_pos_t&)':
sketch\src/lib/types.h:155:52: error: 'mechanics' was not declared in this scope
inline void toLogical(xyze_pos_t &raw) { raw += mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xy_pos_t&)':
sketch\src/lib/types.h:156:52: error: 'mechanics' was not declared in this scope
inline void toNative(xy_pos_t &raw) { raw -= mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xyz_pos_t&)':
sketch\src/lib/types.h:157:52: error: 'mechanics' was not declared in this scope
inline void toNative(xyz_pos_t &raw) { raw -= mechanics.workspace_offset; }
sketch\src/lib/types.h: In function 'void toNative(xyze_pos_t&)':
sketch\src/lib/types.h:158:52: error: 'mechanics' was not declared in this scope
inline void toNative(xyze_pos_t &raw) { raw -= mechanics.workspace_offset; }
exit status 1 Errore durante la compilazione per la scheda Arduino/Genuino Mega or Mega 2560.
Firmware version
4.4.0
My setup
Error appear by decommenting :
define WORKSPACE_OFFSETS
overall.txt
Please be patient, we'll be trying to help you as soon as possible.