Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Version 3.3 compilation issues

    Firmware developers
    2
    13
    86
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jazbaatbadalgaye
      jazbaatbadalgaye last edited by

      I am getting the following error while compiling 3.3-dev version

      make -j8 all 
      c:/program files/gnu arm eclipse/build tools/2.6-201507152002/bin/sh: C:/Program: not found
      makefile:96: recipe for target 'all' failed
      make: *** [all] Error 127
      

      I have made sure that all relevant files are in the path but I still get the error.

      dc42 1 Reply Last reply Reply Quote 0
      • dc42
        dc42 administrators @jazbaatbadalgaye last edited by

        @jazbaatbadalgaye you needs to put quotation marks around that file path, because it contains spaces.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        jazbaatbadalgaye 1 Reply Last reply Reply Quote 0
        • jazbaatbadalgaye
          jazbaatbadalgaye @dc42 last edited by

          @dc42 Screenshot (10).png

          I did but it still gives me the same error

          dc42 1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators @jazbaatbadalgaye last edited by

            @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.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            jazbaatbadalgaye 1 Reply Last reply Reply Quote 0
            • jazbaatbadalgaye
              jazbaatbadalgaye @dc42 last edited by

              @dc42 I am trying to build the RepRapFirmware

              dc42 1 Reply Last reply Reply Quote 0
              • dc42
                dc42 administrators @jazbaatbadalgaye last edited by

                @jazbaatbadalgaye which version of Eclipse are you using, as reported by Help > About Eclipse IDE ?

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                jazbaatbadalgaye 1 Reply Last reply Reply Quote 0
                • jazbaatbadalgaye
                  jazbaatbadalgaye @dc42 last edited by

                  @dc42 I am using version: 2021-06 (4.20.0)

                  dc42 1 Reply Last reply Reply Quote 0
                  • dc42
                    dc42 administrators @jazbaatbadalgaye last edited by

                    @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.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    jazbaatbadalgaye 2 Replies Last reply Reply Quote 0
                    • jazbaatbadalgaye
                      jazbaatbadalgaye @dc42 last edited by

                      @dc42 said in Version 3.3 compilation issues:

                      Screenshot (11).png

                      I am getting the same thing among other installations of make.exe. Similarly for sh

                      jazbaatbadalgaye 1 Reply Last reply Reply Quote 0
                      • jazbaatbadalgaye
                        jazbaatbadalgaye @jazbaatbadalgaye last edited by

                        @jazbaatbadalgaye @dc42 I was able to compile after a fresh install of eclipse

                        1 Reply Last reply Reply Quote 0
                        • jazbaatbadalgaye
                          jazbaatbadalgaye @dc42 last edited by jazbaatbadalgaye

                          @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

                          Screenshot (13).png

                          I have just added both coren2g and coreng for sanity check

                          dc42 jazbaatbadalgaye 2 Replies Last reply Reply Quote 0
                          • dc42
                            dc42 administrators @jazbaatbadalgaye last edited by

                            @jazbaatbadalgaye to build 3.3 you need the corresponding 3.3 version of CoreN2G and maybe also RRFLibraries.

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            1 Reply Last reply Reply Quote 0
                            • jazbaatbadalgaye
                              jazbaatbadalgaye @jazbaatbadalgaye last edited by

                              @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!

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA