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

    PanelDue 7i New Splash Screen Exec Format Error

    Scheduled Pinned Locked Moved
    PanelDue
    2
    5
    279
    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.
    • solarsamuelundefined
      solarsamuel
      last edited by

      Hello, I was able to follow the instructions at the link below and was able to change the UserInterface.cpp file, recompile, and it worked. That all worked great.

      https://github.com/Duet3D/PanelDueFirmware

      Toward the bottom of the page I'm having trouble with the new splash screen part. I'm getting the attached error. I'm running Ubuntu on a Raspberry Pi 5.

      Has anyone else seen this before? When I try to run the bmp2c program there is an Exec Format Error. Not sure if it has to do with the OS or compiler or format or bmp2c error.jpg something else. ![alt text](OS.PNG image url)

      Any help would be great.

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

        Hey @solarsamuel,

        which version did you check out?

        Can you please also do

        $ file bmp2c
        

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

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

          On my system things work. using current master which is e0ffa9dc812b7bdbc25451aa3c5e71070cb8506b.

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

          solarsamuelundefined 1 Reply Last reply Reply Quote 0
          • solarsamuelundefined
            solarsamuel @mfs12
            last edited by

            Thank you @mfs12

            Attached is the output I get when typing file bmp2c

            I followed the Ubuntu instructions 2-3 days ago, not sure about the version. What machine and OS are you running? Do you have other suggestions? It's interesting because the top part of the instructions worked. The only struggle is the splash screen part. Screenshot from 2023-12-11 18-00-53.png

            $ git clone git@github.com:Duet3D/PanelDueFirmware.git
            $ cd PanelDueFirmware
            $ git submodule init
            $ git submodule update --recursive

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

              Hey @solarsamuel,

              this is not bad... i was like really confused why this doesn't work.

              But now I understand. It's fairly simple you are trying to run a amd64 executable on arm32 processor.

              Your raspberry pi needs different executables. This repository provides only binaries for common PC (amd64).

              So what you have to do is to build it yourself.

              Here check this tutorial, everything should be explained there.

              https://www.digitalocean.com/community/tutorials/how-to-build-and-install-go-programs

              But basically it should be something like:

              # install your systems go package
              apt-get install golang-go
              cd PaneldueFirmware/Tools/gobmp2c
              go build
              ./gobmp2c
              

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

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