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

    PanelDue compilation fail

    Scheduled Pinned Locked Moved Solved
    PanelDue
    3
    12
    546
    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.
    • dc42undefined
      dc42 administrators @g.biel
      last edited by

      @g-biel PanelDueFirmware is now built using Cmake, not Eclipse. See the Readme file in the PanelDueFirmware github repository.

      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

      g.bielundefined mfs12undefined 2 Replies Last reply Reply Quote 0
      • g.bielundefined
        g.biel @dc42
        last edited by

        @dc42

        Try . Only now I have another problem:

        ok@Ultrabook:~$ git clone git@github.com:Duet3D/PanelDueFirmware.git
        Cloning into 'PanelDueFirmware'...
        The authenticity of host 'github.com (140.82.121.3)' can't be established.
        ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
        This key is not known by any other names
        Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
        Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
        git@github.com: Permission denied (publickey).
        fatal: Could not read from remote repository.
        
        Please make sure you have the correct access rights
        and the repository exists.
        

        Or maybe someone will tell you how to do this step from Windows 10.

        dc42undefined 2 Replies Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators @g.biel
          last edited by

          @g-biel we are looking into this.

          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
          • mfs12undefined
            mfs12 @dc42
            last edited by

            @dc42 said in PanelDue compilation fail:

            @g-biel PanelDueFirmware is now built using Cmake, not Eclipse. See the Readme file in the PanelDueFirmware github repository.

            There's an easy way to import the project into eclipse to have a seamless experience. Please refer to the readme file in PanelDueFirmware repository.

            Visit me on github at https://github.com/mfs12/

            1 Reply Last reply Reply Quote 0
            • mfs12undefined
              mfs12
              last edited by mfs12

              alternatively you can try to use

              git clone https://github.com/Duet3D/PanelDueFirmware.git
              cd PanelDueFirmware
              git submodule update --init
              

              for cloning. this doesn't need any authentication in contrast to ssh.

              Visit me on github at https://github.com/mfs12/

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators @g.biel
                last edited by dc42

                @g-biel we have fixed this so please update the PanelDueFirmware project and try again. Also I have updated the Eclipse project files, so you can now build under Eclipse as an alternative to Cmake.

                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
                • g.bielundefined
                  g.biel
                  last edited by

                  Eclipse build still doesn't work.
                  Bez tytułu3.jpg
                  On Ubuntu WSL went further, but there are still errors and it doesn't complete the compilation.
                  Bez tytułu2.jpg
                  I tried on another computer and same errors.

                  1 Reply Last reply Reply Quote 0
                  • g.bielundefined
                    g.biel
                    last edited by g.biel

                    Was this change necessary? : link text

                    Ubuntu WSL.
                    There is some progress. I removed the "-Wl,--no-warn-rwx-segments" from the CMakeLists.txt file and it generated the files probably correctly. I didn't make any changes for the test. I haven't uploaded yet because my file is 171KB and on Git there is PanelDueFirmware-3.4.1-v3-7.0.bin with a size of 167KB.
                    Are my files correct?

                    Bez tytułu.jpg

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @g.biel
                      last edited by dc42

                      @g-biel regarding your Eclipse build, the error message is that file qoi.h wasn't found. There are a couple of causes for this that I can think of:

                      1. You have not updated the PanelDueFirmware project to my latest commit that includes an updated .cproject file. In that commit I added additional include paths to the folder that contains this file.
                      2. The qoi submodule within the PanelDueFirmware project has not been populated. Check whether file qoi.h is present in PanelDueFirmware/lib/qoi:

                      a4727c9e-76f4-4317-8426-f09a29d51de9-image.png

                      If it is not present then either you didn't run git submodule update or it didn't work.

                      Regarding the Ubuntu build, my guess is that you are using an older version of the arm-none-eabi build of gcc and related development tools. This could account for both the error message when you don't remove that linker option, and the larger (less optimised) binary.

                      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

                      g.bielundefined 1 Reply Last reply Reply Quote 0
                      • g.bielundefined
                        g.biel @dc42
                        last edited by g.biel

                        @dc42

                        OK.
                        I give up . Maybe I'll come back to the topic when a new version comes out. Maybe someone will be more determined to run it on Eclipse.
                        For now, I'm staying on version 1.24.1. (This still compiles without errors)
                        Regards.

                        Bez tytułu.jpg

                        1 Reply Last reply Reply Quote 0
                        • g.bielundefined
                          g.biel
                          last edited by

                          Finally it worked. 😄
                          I found the solution here: https://forum.duet3d.com/post/227278
                          Regards, you can close the thread.

                          1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined T3P3Tony marked this topic as a question
                          • T3P3Tonyundefined T3P3Tony has marked this topic as solved
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA