muldjord / skyscraper

Powerful and versatile game scraper written in c++
GNU General Public License v3.0
478 stars 127 forks source link

Tested on ODroid with RetroPie #24

Open Shawson opened 6 years ago

Shawson commented 6 years ago

Not an issue, not sure if this is already confirmed- but I've successfully installed and run this on RetroPie Ordoid image- all runs perfectly. Just thought I'd let you know! Successfully scraped amiga/ megadrive so far..

muldjord commented 6 years ago

Thank you for the heads up, I'll let it sit here as an issue so people can see it. I am aware that several people use it on ODroid successfully and there certainly isn't anything keeping it from compiling and working on that platform, I just don't have one myself to test on, so I don't "officially" support it. But the more the merrier! On that note, Skyscraper should work on basically any Linux distro which has Qt packages in the their package management systems.

countbuggula commented 3 years ago

I'm having trouble building this on an ODROID Go Super (RK3326 chip) on Ubuntu 20.04.

make: *** No rule to make target 'clean'.  Stop.
Info: creating stash file /home/odroid/skysource/.qmake.stash
--- Building Skyscraper v.3.6.9 ---
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o src/main.cpp
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o skyscraper.o src/skyscraper.cpp
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o netmanager.o src/netmanager.cpp
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o netcomm.o src/netcomm.cpp
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o xmlreader.o src/xmlreader.cpp
g++ -c -pipe -std=c++11 -O2 -Wall -W -D_REENTRANT -fPIC -DVERSION=\"3.6.9\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtXml -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o compositor.o src/compositor.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:957: skyscraper.o] Error 1
make: *** Waiting for unfinished jobs....
--- Failed to build Skyscraper v.3.6.9, exiting with code 2 ---
muldjord commented 3 years ago

Can you please do qmake --version and post the output?

countbuggula commented 3 years ago
odroid@retrooz:~$ qmake --version
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu
muldjord commented 3 years ago

That does meet the requirements, so I can't really know what it is on your end that makes g++ bail out.

Did you run the installation for the pre-requisites? sudo apt install build-essential qt5-default You could try that and see if any of those were missing. But I assume you already did that.

I don't have an ODroid to test on, so I'm not of much help beyond that as it doesn't seem to be a Qt5 problem, more of a general system problem with your compiler.

EDIT: Looked around a bit for the error, and it seems to suggest your system is running out of memory, or it's trying to compile using too many threads. Have you tried to do a manual compile with just:

make clean
rm .qmake.stash
qmake
make

Please try that as well. It will then compile it using only one thread which will lower memory consumption.

countbuggula commented 3 years ago

Awesome, I think that was the problem, it's not finished building but it's moving along just fine.