WohlSoft / Moondust-Project

Moondust Project by Wohlstand

Home Page:https://wohlsoft.ru/projects/Moondust/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot Execute binary file: Exec format error - Ubuntu 20.10 Raspberry Pi 4B (ARM64)

opened this issue · comments

Cannot Execute binary file: Exec format error
When I follow the build instructions from Link, After I have "chmodded" after downloading the file, the "cmodding" has no errors but when I try to run the file I get: bash: ./qt-unified-linux-x64-online-run: cannot execute binary file: Exec format error I've seen this before when I try to run software for 64 bits on 32 bits or when I try to run x86 software on Arm.

Any help would be appreciated, PGE looks like the perfect engine for making platformer games :D

You should install the Qt from the package manager, you don't need to install the Qt by the installer, especially on ARM 😹

Simply install the Qt by the next run:

sudo apt-get install qt5-default qt5-qmake qttools5-dev qttools5-dev-tools libqt5gui5 \
libqt5core5a libqt5widgets5 libqt5concurrent5 libqt5qml5 qtdeclarative5-dev libqt5network5 \
qt5-image-formats-plugins qt5-gtk-platformtheme qt5dxcb-plugin qtwayland5 libqt5waylandclient5

Also, if you want to get the IDE, also install the qtcreator. 🦊

After installing all those packages & the qtcreator I still get the exact same error :(

You don't need to run the qt-unified... at all, this is completely useless step at you

As you had to install all listed dependencies, go start to do the build itself
The package manager side Qt dependencies are going INSTEAD of the downloaded installer. The installer is just incompatible to your device, it's just a ballast that steals your memory size

Sorry, my account was deleted because I am underage to use this site.

Cya, @ghost!
I hope, you did your build successfully. 🦊