Closed fabianmendes closed 3 years ago
Hey, I can now confirm, it is working on my Raspberry Pi 4 (latest Raspbian). You have to build Qt using the qt-everywhere release, then install cmake and build NDSFactory.
Here is a screenshot of it running on my Pi:
Nice! What steps did you?
@fabianmendes I installed Qt on my Raspberry Pi 4 using this guide: https://www.tal.org/tutorials/building-qt-512-raspberry-pi
Then, just clone this repo an run:
mkdir build
cd build
cmake ..
make -j4
it should produce a valid executable.
In the future I'll investigate if is possibile to use github actions to build arm bins.
Can I close this issue?
yes, thanks!
Just to know, why do we need to build a Qt??
Just to know, why do we need to build a Qt??
Because there is no prebuild Qt SDK available for Raspberry Pi 4 (you can't build this software without Qt)
Cool, amazing!
Excuse me, Luca. Should I download the release or can I git clone the repo instead?
Excuse me, Luca. Should I download the release or can I git clone the repo instead?
I don't understand. If you download the archives from the Release section, you will get executable binaries for the currently supported platforms. If you need to build this on your raspberry you have to clone this repo (just clone the master branch, as I'm currently working on other branches), and after setting up Qt , you can start the building process.
EDIT: oh, now I get what you mean: the zip file containing the source code from the release section. No, please don't do that as you will not be able to build it as that archive is pretty old and lacks CMake support!! Just clone the master branch and you should be ok ;)
yikes, I got this:
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.18 or higher is required. You are running version 3.13.4
-- Configuring incomplete, errors occurred!
Any idea about solving this? May this be only for 64-bit?? Or your app runs on 32-bit without any problem?
Just replace the first line of CMakeLists.txt with:
cmake_minimum_required(VERSION 3.13)
Or update your cmake installation to at leat 3.18
Just replace the first line of CMakeLists.txt with:
cmake_minimum_required(VERSION 3.13)
Or update your cmake installation to at leat 3.18
yeah, I must change it, I just can't upgrade it
After detecting some compilations. I got this:
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
See also "/home/pi/Downloads/git/NDSFactory/build/CMakeFiles/CMakeOutput.log".
I think that it's because I didn't this part of the tutorial: (What do you think?)
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
Nope :L Ok ok, I'll do it now then. I'm a bit scare hahaha
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
Nope :L Ok ok, I'll do it now then. I'm a bit scare hahaha
If you just want to run this on your raspberry I can give you the bin I produced 2 days ago
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
Nope :L Ok ok, I'll do it now then. I'm a bit scare hahaha
If you just want to run this on your raspberry I can give you the bin I produced 2 days ago
:o really?! Yes, please
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
Nope :L Ok ok, I'll do it now then. I'm a bit scare hahaha
If you just want to run this on your raspberry I can give you the bin I produced 2 days ago
:o really?! Yes, please
Enjoy: http://transfer.sh/GrgPx/NDSFactory.tar.gz
Beware that this isn't really tested. I just built it on my rasp.
Should I close the other issue then? (#7)
That error is telling you that Qt wasn't found on your system. Have you built Qt? A regular build on Raspberry should take a night.
Nope :L Ok ok, I'll do it now then. I'm a bit scare hahaha
If you just want to run this on your raspberry I can give you the bin I produced 2 days ago
:o really?! Yes, please
Enjoy: http://transfer.sh/GrgPx/NDSFactory.tar.gz
Beware that this isn't really tested. I just built it on my rasp.
Should I close the other issue then? (#7)
Give me a minutes, please
How can I run that from the terminal? I can't just double click it, and with sh
after chmod a+x
it gave me this:
NDSFactory: 1: NDSFactory: Syntax error: word unexpected (expecting ")")
This is built on AArch64 (ARM 64bit) and will not run on other CPUs
Edit: you should launch this from terminal like any other ELF: ./NDSFactory This is not an sh script
Oh ok ok. Then close the other issue, all right I'm deploying my OS 64-bit setup. I'll continue with this later! With the 64-bit then. Amazing. I should expect to run this there and that's, it right? (dismissing testing features of course) Note for #7 and https://github.com/Botspot/pi-apps/issues/394
Yes correct. Ofc you'll have to know how NDS roms works in order to use this tool.
Thanks! Sure :)
On Fri, Feb 26, 2021, 10:40 AM Luca1991 notifications@github.com wrote:
Yes correct. Ofc you'll have to know how NDS roms works in order to use this tool.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/Luca1991/NDSFactory/issues/3#issuecomment-786687363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOIWF7F3VMDMDYGDIYNQU3TA6XGTANCNFSM4XVPVGIQ .
Hey @Luca1991 I have my Aarch64 setup and Amd64, and I've tried out but got this, it doesn't anything. May you please help me? How should I run this..
Why are you trying to launch it like that? Just run it like any other Linux Elf: ./NDSFactory
Why are you trying to launch it like that? Just run it like any other Linux Elf: ./NDSFactory Because it fails too.
mandalorian@basiliscus-ubuntu-desktop64:~/Documents$ ./NDSFactory bash: ./NDSFactory: No such file or directory
Help :(
I think I should move that to bash file or something?
Uhmmm, it looks like your OS isn't recognizing the bin as Elf. Are you sure you are on Raspberry Pi 4??
HAHAHAHAH yes of course haha. Look. Ok, it doesn't show my RPi4 but yes it is haha, other ways is that I try now setting up RPi OS 64-bit instead, it may be the same thing but ubuntu may making things up. https://live.staticflickr.com/65535/50936327258_1356ddc376.jpg
HAHAHAHAH yes of course haha. Look. Ok, it doesn't show my RPi4 but yes it is haha, other ways is that I try now setting up RPi OS 64-bit instead, it may be the same thing but ubuntu may making things up. https://live.staticflickr.com/65535/50936327258_1356ddc376.jpg
It is so f**king strange what's happening..... Please give raspbian a try and let me know. Also, if you want contact me using the email on my GitHub profile, I'll give you mi telegram username so we can continue there, as using this issue as a "support thread" is very inconvenient
Ok, amazing. Thank you
I'm trying to build it on my Pi 4 right now (building Qt5 atm). Can't promise anything, but I'll try.