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

make new error #23

Open
flynneva opened this issue Sep 5, 2020 · 1 comment
Open

make new error #23

flynneva opened this issue Sep 5, 2020 · 1 comment

Comments

@flynneva
Copy link

flynneva commented Sep 5, 2020

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
@flynneva
Copy link
Author

flynneva commented Sep 5, 2020

fixed with #24

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

1 participant