Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Improving Build Instructions

    Scheduled Pinned Locked Moved
    Firmware developers
    4
    17
    725
    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.
    • Garth_42undefined
      Garth_42
      last edited by

      Ok, thanks for specifying that information. I make the changes that you mentioned and Eclipse is now giving me the following output:
      e9d66b7c-aa47-4a8d-aeb2-517523e2bccd-image.png
      4153cbab-045d-456e-ba9d-2994805652b2-image.png

      1 Reply Last reply Reply Quote 0
      • Garth_42undefined
        Garth_42
        last edited by

        Under the cmake section, I don't have a toolchain file. Not sure if this is an issue or not either.

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

          It looks like you have somehow lost the tool prefix, because it should be looking for arm-none-eabi-g++ not simply g++.

          c01282e8-7627-4858-891f-cb8b118b8d28-image.png

          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
          • Garth_42undefined
            Garth_42
            last edited by

            Hi @dc42 I appreciate your help. It is looking like there is something larger that is the matter with my configuration. I don't even have Tool Settings.
            18963b7a-b546-454e-bd90-ea29535f4db6-image.png

            1 Reply Last reply Reply Quote 0
            • Garth_42undefined
              Garth_42
              last edited by

              Okay, so I was looking over the build instructions again and I realized that for some of the repos I installed the master version instead of the specified version. I am now using the specified version of each repo and I am seeing the arm-none-eabi for all the repos except the CANlib and FreeRTOS.
              5e1205ff-3171-499a-9e88-3f6af5be06f7-image.png
              Even with that, I am still getting the path error.

              1 Reply Last reply Reply Quote 0
              • Garth_42undefined
                Garth_42
                last edited by

                Also, with the repos where I am able to find the Tool Settings, it is looking like it is trying to compile and gets build errors. So to my understanding it is interesting that it is saying that it can't find it in path still.

                Garth_42undefined 1 Reply Last reply Reply Quote 0
                • Garth_42undefined
                  Garth_42 @Garth_42
                  last edited by

                  Hi everyone, I am not experienced in building large C++ projects and I don't want to be a burden on the forum, does anyone have a good resource on general build advice/troubleshooting that I can look at?

                  1 Reply Last reply Reply Quote 0
                  • Garth_42undefined
                    Garth_42
                    last edited by

                    Hello everyone,
                    I finally was able to compile the firmware! I am noting down what I did here that made it work hopefully to help others with the first build.

                    Make sure that:
                    You are checking out the correct "tags" of a repo in github. A certain version of the firmware requires certain tags of a repo to be installed. See this for V 3.02: https://github.com/Duet3D/RepRapFirmware/blob/v3.02-dev/BuildInstructions.md ... there is a table listing the tag (not branch) to pull from.

                    Also, the order of "make" in path matters. I had Chocolatey installed also and its make was further u on the list in my Path environment variable which overrode the version of make that is being used for this project.

                    This forum post has a lot of helpful information and got me the rest of the way.: https://forum.duet3d.com/topic/19980/little-help-to-build-rrf3/3

                    Good luck!

                    seraserundefined 1 Reply Last reply Reply Quote 0
                    • Garth_42undefined
                      Garth_42
                      last edited by

                      Also, an easy way to add a project to Eclipse is File -->Open Projects From File System and then select the Firmware directory with all of the downloaded projects into it.

                      Also, make sure to read the entire page of instructions, not skipping over anything. For the Duet 3 you don't need to compile the DuetWifiSocketServer project, but you do still need it added into Eclipse.

                      1 Reply Last reply Reply Quote 0
                      • seraserundefined
                        seraser @Garth_42
                        last edited by seraser

                        @Garth_42 Im glad if my topic help you because @oliof is great and wonderfull.

                        I think I have my solution near...will see

                        Can you share your downloaded CoreNG, FreeRTOS, RRFLibraries, duetwifisocket and Reprapfirmware?

                        Yo check if my problem is my environnment or files

                        Thank you

                        1 Reply Last reply Reply Quote 0
                        • seraserundefined
                          seraser
                          last edited by seraser

                          Nevermind finally compiled latest version fine.

                          Garth_42undefined 1 Reply Last reply Reply Quote 0
                          • Garth_42undefined
                            Garth_42 @seraser
                            last edited by

                            @seraser glad you finally compiled it! Sorry I didn’t respond in time.

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