-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
trying to get this up and running on my ubuntu 20.04 workstation and seeing a build error.
ive cloned this repo into the grbl/grbl/ source directory as specified in the instructions and still am seeing this error.
any advice?
grbl_interface.c: In function ‘print_steps’:
grbl_interface.c:84:6: error: ‘SPINDLE_TCCRA_REGISTER’ undeclared (first use in this function); did you mean ‘TCCRA_REGISTER’?
84 | if(SPINDLE_TCCRA_REGISTER >= 127) ocr = SPINDLE_OCR_REGISTER;
| ^~~~~~~~~~~~~~~~~~~~~~
| TCCRA_REGISTER
grbl_interface.c:84:6: note: each undeclared identifier is reported only once for each function it appears in
grbl_interface.c:84:43: error: ‘SPINDLE_OCR_REGISTER’ undeclared (first use in this function)
84 | if(SPINDLE_TCCRA_REGISTER >= 127) ocr = SPINDLE_OCR_REGISTER;
| ^~~~~~~~~~~~~~~~~~~~
grbl_interface.c:94:75: error: ‘sys_position’ undeclared (first use in this function); did you mean ‘block_position’?
94 | fprintf(args.step_out_file, "%12.5f %d, %d, %d, %d\n", sim.sim_time, sys_position[X_AXIS], sys_position[Y_AXIS], sys_position[Z_AXIS],ocr);
| ^~~~~~~~~~~~
| block_position
make: *** [Makefile:64: grbl_interface.o] Error 1
Metadata
Metadata
Assignees
Labels
No labels