RetroPie X86 - Could not successfully build lr-genesis-plus-gx
-
After quite a while I decided to update my X86 installation (running on GalliumOS 2.1) of RetroPie to 4.2.12. Things take forever on X86 because everything is built from source, but I'm used to that.
At the end I got a notice about lr-genesis-plus-gx failing. I tried updating it again on its own, same error. Finally i removed it and tried installing it. Same error. I see that it's looking for a file, but I can't seem to locate
genesis_plus_gx_libretro.so
even on github.I put the log file on Pastebin.
Any suggestions for how to resolve this? I don't mind manually placing a file, but that directory is locked, and every time I run the installer that directory is deleted and recreated.
-
@obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:
After quite a while I decided to update my X86 installation (running on GalliumOS 2.1) of RetroPie to 4.2.12. Things take forever on X86 because everything is built from source, but I'm used to that.
At the end I got a notice about lr-genesis-plus-gx failing. I tried updating it again on its own, same error. Finally i removed it and tried installing it. Same error. I see that it's looking for a file, but I can't seem to locate
genesis_plus_gx_libretro.so
even on github.I put the log file on Pastebin.
Any suggestions for how to resolve this? I don't mind manually placing a file, but that directory is locked, and every time I run the installer that directory is deleted and recreated.
That is the name of the file that the compiler is supposed to build -- ie that is the "core" executable itself. Hopefully others will have more specific advice but I wanted to save you trying to find a copy of the file on github.
Well, on the other hand you might just be able to download the compiled x86 linux version of that core from the retroarch buildbot and not worry about compiling it yourself. (Beware I know more about RetroArch in this situation than RetroPie!)
-
@markwkidd That makes sense that it's a file that the computer is supposed to build locally. I guess that means something is funky with what got downloaded from github. Either there are "bad" instructions somewhere or a file got missed in the download?
-
@obsidianspider I think there is something wrong with the current source in the github repository.
There is a recent list of commits mentioning 'reverting' things and fixing builds. I see no corresponding Issue about this though. https://github.com/libretro/Genesis-Plus-GX/commits/master
I would suggest double checking to see that there isn't an Issue going, and if not post one in the libretro github tracker with your log. I track a few libretro repos but not this one, I'm just guessing what they're up to!
-
Are you running 32bits or 64bits? Some people write x86 to mean 32-bit, but some people use it to refer to 32-bit x86 as well as x86_64.
If it's 32, is there any chance you'd be willing to test Killer Instinct for MAME 2003 once you get things up and running? It would probably be the first time in history that title has been played in RetroPie.
-
It's a Celeron Chromebook with 4GB of RAM. The OS is 64-bit, but I'm not sure if/how RetroPie determines any of that.
-
@markwkidd said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:
If it's 32, is there any chance you'd be willing to test Killer Instinct for MAME 2003 once you get things up and running? It would probably be the first time in history that title has been played in RetroPie.
Per the logging, MAME 2003 didn't like the CHD, but Killer Instinct works just fine with MAME 2010. This is on a "real" computer with a Celeron and 4GB of RAM.
-
@obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:
It's a Celeron Chromebook with 4GB of RAM. The OS is 64-bit, but I'm not sure if/how RetroPie determines any of that.
Sounds like a 64 bit build of RetroArch and MAME 2003 to me :( Thank you for testing.
For what it's worth, as of last week the buildbot is definitely compiling 32-bit x86 MAME 2003 cores for Windows that run Killer Instinct.
I don't think it can work on your architecture without customizing the RetroPie-setup script to build a 32-bit RetroArch and core, which a x64 bit system can run. If this is really your game and you'd enjoy playing it, I would be willing to try to help customize the build to make it work, but otherwise I think that's a project for another day...
edit: Killer Instinct does need a ZIP and a CHD of the correct version, which is different than the MAME 2010.
-
@markwkidd I am trying to get Genesis Plus GX to compile.
You're the one who brought up MAME and Killer Instinctβ¦
-
@obsidianspider it's true. I need to set linux up and retropie x86 to do my own test. I'm currently trying to get the hang of building retroarch and cores myself, in Windows with mysys.
-
there's a bunch of errors in that log file. the message that retropie-setup gives you is a generic one that basically means 'this build failed'. i would log an issue here: https://github.com/ekeeke/Genesis-Plus-GX
you could say something like "Build errors on x86" then include the error log.
might be also good if someone else who runs x86 retropie can confirm they get the same error.
-
@dankcushions said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:
Build errors on x86
Thanks! I'm still very green with Github, so hopefully the issue I created is helpful.
-
sorry, looks like i pointed you to the wrong github repo! but it looks like maybe the issue is fixed now if you try again?
-
@dankcushions I tried again and it didn't fail after 3 seconds, but it still failed. :-/
-
@obsidianspider said in RetroPie X86 - Could not successfully build lr-genesis-plus-gx:
@dankcushions I tried again and it didn't fail after 3 seconds, but it still failed. :-/
The github tracker I linked earlier is the right one.
-
-
I submitted a fix (the original issue was resolved, but there was another problem with the fix due to a duplicate
static
)The fix may or may not be accepted - it's one way of fixing it - depending if they want to change the file that uses
INLINE
or change the definition ofINLINE
and removestatic
, and instead usestatic
in the source where needed. -
The repository has been updated and I can now build in x86_64
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.