You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
When using gnu make, I have to change line 50 in Grbl9fMega2560/Makefile from
.c.o:
to
%.o: %.cpp
Otherwise, compilation does not work, because the wrong c++ compiler is used, error message below. For which make program is the supplied Makefile?
Best regards,
Michael
Error message:
g++ -c -o main.o main.cpp
In file included from main.cpp:22:0:
system.h:25:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using gnu make, I have to change line 50 in Grbl9fMega2560/Makefile from
.c.o:
to
%.o: %.cpp
Otherwise, compilation does not work, because the wrong c++ compiler is used, error message below. For which make program is the supplied Makefile?
Best regards,
Michael
Error message:
g++ -c -o main.o main.cpp
In file included from main.cpp:22:0:
system.h:25:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
: recipe for target 'main.o' failed
make: *** [main.o] Error 1
The text was updated successfully, but these errors were encountered: