MKFirmware / MK4duo

MK4duo Firmware Printers 3D for Arduino and Arduino due
http://www.marlinkimbra.it
GNU General Public License v3.0
206 stars 118 forks source link

CAN'T BUILD SCARA MECHANISM #791

Open annhan opened 4 years ago

annhan commented 4 years ago
  1. Firmware version: v4.4.0
  2. Setting: #define MECHANISM MECH_MORGAN_SCARA
  3. error: 'float_limit_t' does not name a type

    float_limit_t base_pos[XYZ]

can you help me check it? thanks

OscarSegura13 commented 3 years ago

I have the same error: error: 'float_limit_t' does not name a type

the error is in the structure of the following library ....\MK4duo-master\MK4duo-master\MK4duo\src\core\mechanics\scara_mechanics.h

in the line 34: float_limits_t base_pos[XYZ];

I found a very similar structure in ....D\MK4duo-master\MK4duo-master\MK4duo\src\lib\types.h in the line 560: typedef struct MinMaxVal limit_float_t;

They look similar, I thought it was a typo, but they are not the same type when compiling.

can help for this error in a scara robot

ahmedyashar commented 2 years ago

i have the same problem!