Dolphin package won't install
-
Running the newest RetroPie on Lubuntu22.04. Dolphin does not install due to not locating binary files. I performed this with a fresh OS and new RetroPie install.
This was an issue I was posted in 2022, but the issue was an Ubuntu issue that was resolved. Is this the same issue or different? I didn't think Lubuntu vs. Ubuntu mattered, but I cannot find any solution so perhaps I need to switch to Ubuntu ..
Log: https://pastebin.com/enjBNwGv
Any help would be greatly appreciated.
-
It's an upstream project issue.
The build fails due to the included SDL2 sub-project, which Dolphin tries to build and integrate, but it fails when linking the final executables (
dolphin-emu
& friends). SDL2 support (for gamepads) was added recently - this year I think ? - so they might have not noticed the build breakage.
I'll report it upstream, maybe they'll add a fix. Another option is to install the latest SDL2 stable version, since this will make Dolphin use it instead of the older 2.0.20 that Ubuntu uses. -
@mitu Thank you for the help! I tried downloading the SDL2 from apt (libsdl2-2.0-0 and libsdl2-dev) but the program failed the same way. Would I have to compile it myself? I'm getting comfortable with linux but that seems rather daunting.
Sorry if this is a dumb question: since this is an upstream issue with dolphin, does that mean that, even if I download dolphin separately and not as a RetroPie package, there will be no way to get it to install correctly?
-
@linkman said in Dolphin package won't install:
@mitu Thank you for the help! I tried downloading the SDL2 from apt (libsdl2-2.0-0 and libsdl2-dev) but the program failed the same way. Would I have to compile it myself?
Yes. As I said, the distro's packages are considered 'old' by the
dolphin
build environment and they are ignored.... even if I download dolphin separately and not as a RetroPie package, there will be no way to get it to install correctly?
If you compile it from source you have the option to disable the SDL2 support in Dolphin and it will skip this dependency. By default, SDL2 support is enabled and you'll get the same error.
-
@mitu Thank you. I guess this is when I learn how to compile from source.
I know we're getting outside the purview of this forum and into just general help, but I have a final question if you can: how would I disable SDL2 support when compiling? The dolphin github has instructions on compiling from source, but I am unsure where to modify to disable SDL2 within those instructions.
-
@linkman Add
-DENABLE_SDL=OFF
to thecmake
build configuration command. -
@mitu Thank you! I ended up changing an ON to an OFF in the CMakeLists file, which seemed to have worked.
I see you posting on here a lot, and I really appreciate all the support you provide. Thanks again!
-
The issue will be fixed upstream, one way or the other.
As a temporary workaround (until this fix is merged), you can try installinglibhidapi-dev
manually and then re-run the installation from the RetroPie-Setup script.
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.