PanelDue compilation fail
-
@g-biel PanelDueFirmware is now built using Cmake, not Eclipse. See the Readme file in the PanelDueFirmware github repository.
-
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.
-
@g-biel we are looking into this.
-
@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.
-
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.
-
@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.
-
Eclipse build still doesn't work.
On Ubuntu WSL went further, but there are still errors and it doesn't complete the compilation.
I tried on another computer and same errors. -
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? -
@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:
- 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.
- The qoi submodule within the PanelDueFirmware project has not been populated. Check whether file qoi.h is present in PanelDueFirmware/lib/qoi:
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.
-
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. -
Finally it worked.
I found the solution here: https://forum.duet3d.com/post/227278
Regards, you can close the thread. -
-