RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Dolphin package won't install

    Scheduled Pinned Locked Moved Help and Support
    dolphinubuntuerrorpackagebinary
    8 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      linkman
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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.

        L 1 Reply Last reply Reply Quote 0
        • L
          linkman @mitu
          last edited by

          @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?

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @linkman
            last edited by mitu

            @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.

            L 1 Reply Last reply Reply Quote 0
            • L
              linkman @mitu
              last edited by

              @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.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @linkman
                last edited by

                @linkman Add -DENABLE_SDL=OFF to the cmake build configuration command.

                L 1 Reply Last reply Reply Quote 0
                • L
                  linkman @mitu
                  last edited by

                  @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!

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by

                    The issue will be fixed upstream, one way or the other.
                    As a temporary workaround (until this fix is merged), you can try installing libhidapi-dev manually and then re-run the installation from the RetroPie-Setup script.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    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.