Emulation station wont build on bookworm arm64
-
I realise this is unsupported, but I'm hoping someone can help
as part of retropie, I edited emulationstation and commented out the omx player lines, SDL2 issues etc are resolved.
However when I build emulationstation from source it comes back with this image - now /emulationstation/emulation station does not exist but /emulationstation does - has anyone experience this before? Reading about some have said it's running out of memory - but I'm using a 4GB pi, set gpu to 64 and not running the DE.
I don't get where it's pulling that extra folder from - thanks
| | | const char [15] /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Settings.h:20:57: note: initializing argument 1 of 20 | const std::string& getString(const std::string& name); | ~~~~~~~~~~~~~~~~~~~^~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/PowerSaver.cpp: In static member function : /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/PowerSaver.cpp:75:62: error: cannot convert to {aka } 75 | bool ps_enabled = Settings::getInstance()->getString("PowerSaverMode") != "disabled"; | ^~~~~~~~~~~~~~~~ | | | const char [15] /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/Settings.h:20:57: note: initializing argument 1 of 20 | const std::string& getString(const std::string& name); | ~~~~~~~~~~~~~~~~~~~^~~~ make[2]: *** [es-core/CMakeFiles/es-core.dir/build.make:216: es-core/CMakeFiles/es-core.dir/src/PowerSaver.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp: In member function : /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:281:28: error: was not declared in this scope; did you mean ? 281 | std::string path = getConfigPath(); | ^~~~~~~~~~~~~ | getHomePath /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp: In member function : /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:333:28: error: was not declared in this scope; did you mean ? 333 | std::string path = getConfigPath(); | ^~~~~~~~~~~~~ | getHomePath /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:356:48: error: was not declared in this scope 356 | path = getTemporaryConfigPath(); | ^~~~~~~~~~~~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp: In member function : /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:395:28: error: was not declared in this scope; did you mean ? 395 | std::string path = getConfigPath(); | ^~~~~~~~~~~~~ | getHomePath /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp: At global scope: /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:434:13: error: no declaration matches 434 | std::string InputManager::getConfigPath() | ^~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:434:13: note: no functions named /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.h:13:7: note: defined here 13 | class InputManager | ^~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:441:13: error: no declaration matches 441 | std::string InputManager::getTemporaryConfigPath() | ^~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:441:13: note: no functions named /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.h:13:7: note: defined here 13 | class InputManager | ^~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:471:13: error: no declaration matches 471 | std::string InputManager::getDeviceGUIDString(int deviceId) | ^~~~~~~~~~~~ /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.cpp:471:13: note: no functions named /home/pi/RetroPie-Setup/tmp/build/emulationstation/es-core/src/InputManager.h:13:7: note: defined here 13 | class InputManager | ^~~~~~~~~~~~ make[2]: *** [es-core/CMakeFiles/es-core.dir/build.make:174: es-core/CMakeFiles/es-core.dir/src/InputManager.cpp.o] Error 1 make[2]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/emulationstation' make[1]: *** [CMakeFiles/Makefile2:220: es-core/CMakeFiles/es-core.dir/all] Error 2 make[1]: Leaving directory '/home/pi/RetroPie-Setup/tmp/build/emulationstation' make: *** [Makefile:156: all] Error 2 Removing additional swap Could not successfully build emulationstation - EmulationStation - Frontend used by RetroPie for launching emulators (/home/pi/RetroPie-Setup/tmp/build/emulationstation/emulationstation not found). /home/pi/RetroPie-Setup Log ended at: Wed Feb 8 04:43:04 PM GMT 2023 Total running time: 0 hours, 5 mins, 13 secs
-
Post the entire install log file on pastebin.com. My guess is you're using the wrong branch due to
bookworm
not having a proper release version. -
@mitu thanks, this is my full log
emulationstation-dev did compile, but I'd rather not use that as from what I understand it requires more configuration - thanks!
-
@Nossie As I suspected, you're using a - quite outdated - branch because your distro is not recognized.
.. /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh: line 138: [[: n/a: division by 0 (error token is "a") /home/pi/RetroPie-Setup/tmp/build/emulationstation /home/pi/RetroPie-Setup = = = = = = = = = = = = = = = = = = = = = Getting sources for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators = = = = = = = = = = = = = = = = = = = = = /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh: line 148: [[: n/a: division by 0 (error token is "a") HEAD is now at 920db2b bump version to v2.7.6 ...
You'll want to manually compile from the dev/stable branch, the 2.7.6 is for stretch/jessie.
EDIT: or you can patch
system.sh
and have it mapbookworm
to a proper os_debian_ver. -
@mitu thanks, I had a look around and as I'm building on top of an existing OS was told I should be using this one.
Can you point me in the direction of the dev/stable branch? I figure I can just let it start and leave it to compile. - thanks!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.