Version 3.3 compilation issues
-
@jazbaatbadalgaye which project are you trying to build? If you are trying to build the DuetWiFiSocketServer project, don't bother. You don't need to build that project to build RepRapFirmware.
-
@dc42 I am trying to build the RepRapFirmware
-
@jazbaatbadalgaye which version of Eclipse are you using, as reported by Help > About Eclipse IDE ?
-
@dc42 I am using version: 2021-06 (4.20.0)
-
@jazbaatbadalgaye that's the same version that I use.
Please go to the command prompt and run these commands:
where make where sh
The response to the first one should be:
C:\Program Files\GNU ARM Eclipse\Build Tools\2.6-201507152002\bin\make.exe
and similarly for the second.
-
@dc42 said in Version 3.3 compilation issues:
I am getting the same thing among other installations of make.exe. Similarly for sh
-
@jazbaatbadalgaye @dc42 I was able to compile after a fresh install of eclipse
-
@dc42 Now I have new issues for some reason
C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src\Hardware\SAM4E/Devices.h:13:10: fatal error: USARTClass.h: No such file or directory 13 | #include <USARTClass.h> | ^~~~~~~~~~~~~~ compilation terminated. In file included from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/RepRapFirmware.h:66, from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/GCodes/GCodeException.h:11, from ../src/bossa/Samba.h:37, from ../src/bossa/Applet.h:34, from ../src/bossa/Applet.cpp:29: C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src\Hardware\SAM4E/Devices.h:13:10: fatal error: USARTClass.h: No such file or directory 13 | #include <USARTClass.h> | ^~~~~~~~~~~~~~ compilation terminated. src/bossa/subdir.mk:42: recipe for target 'src/bossa/Device.o' failed make: *** [src/bossa/Device.o] Error 1 make: *** Waiting for unfinished jobs.... src/bossa/subdir.mk:42: recipe for target 'src/bossa/Applet.o' failed make: *** [src/bossa/Applet.o] Error 1 In file included from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/RepRapFirmware.h:66, from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/GCodes/GCodeException.h:11, from ../src/bossa/Samba.h:37, from ../src/bossa/Device.h:32, from ../src/bossa/Flasher.h:32, from ../src/bossa/Flasher.cpp:30: C:\Users\AS\\GitHub\RepRapFirmware 3.3\RepRapFirmware\src\Hardware\SAM4E/Devices.h:13:10: fatal error: USARTClass.h: No such file or directory 13 | #include <USARTClass.h> | ^~~~~~~~~~~~~~ compilation terminated. src/bossa/subdir.mk:42: recipe for target 'src/bossa/Flasher.o' failed make: *** [src/bossa/Flasher.o] Error 1 In file included from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/RepRapFirmware.h:66, from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/GCodes/GCodeException.h:11, from ../src/bossa/Samba.h:37, from ../src/bossa/Applet.h:34, from ../src/bossa/WordCopyApplet.h:32, from ../src/bossa/WordCopyApplet.cpp:29: C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src\Hardware\SAM4E/Devices.h:13:10: fatal error: USARTClass.h: No such file or directory 13 | #include <USARTClass.h> | ^~~~~~~~~~~~~~ In file included from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/RepRapFirmware.h:66, from C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src/GCodes/GCodeException.h:11, from ../src/bossa/Samba.h:37, from ../src/bossa/Samba.cpp:29: C:\Users\AS\Documents\GitHub\RepRapFirmware 3.3\RepRapFirmware\src\Hardware\SAM4E/Devices.h:13:10: fatal error: USARTClass.h: No such file or directory 13 | #include <USARTClass.h> | ^~~~~~~~~~~~~~ compilation terminated. compilation terminated. src/bossa/subdir.mk:42: recipe for target 'src/bossa/Samba.o' failed make: *** [src/bossa/Samba.o] Error 1 src/bossa/subdir.mk:42: recipe for target 'src/bossa/WordCopyApplet.o' failed make: *** [src/bossa/WordCopyApplet.o] Error 1 compilation terminated. compilation terminated. make: *** [src/bossa/WordCopyArm.o] Error 1 src/bossa/subdir.mk:42: recipe for target 'src/bossa/EefcFlash.o' failed make: *** [src/bossa/EefcFlash.o] Error 1 src/bossa/subdir.mk:42: recipe for target 'src/bossa/BossaFlash.o' failed make: *** [src/bossa/BossaFlash.o] Error 1
I am able to build version 3.4 without any issues though
Here is how my directory looks
I have just added both coren2g and coreng for sanity check
-
@jazbaatbadalgaye to build 3.3 you need the corresponding 3.3 version of CoreN2G and maybe also RRFLibraries.
-
@jazbaatbadalgaye It compiled after I included a tagged release (16th June?) I included the exact versions the wiki said but weirdly it did not compile then. I used the 3.3 dev version as listed in the wiki. Hopefully the wiki will be updated. Cheers!