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

    Unable to build Commander Genius

    Scheduled Pinned Locked Moved Help and Support
    cgeniussdl2compile error
    13 Posts 2 Posters 1.5k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Hm, there doesn't seem to be any radical changes recently in the upstream repository. I'll take a look to build it myself, but just to eliminate any corruption, can you re-install the the SDL deveopment libraries dependencies:

      sudo apt-get -y install --reinstall libsdl2-image-dev libsdl2-mixer-dev
      

      and then retry building ?

      1 Reply Last reply Reply Quote 0
      • W
        war3zlod3r
        last edited by war3zlod3r

        Thanks so much for the quick responses, still giving me the same build error though, noticed I also have issues trying to build Abuse

        Edit: seems to work on my Pi Zero W fine

        Edit 2: not sure if this helps but here is my abuse build log https://paste.ee/p/uRqtq

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

          I tried building CGenius and I don't get any errors building - in the same step you're having the error. Looking over the CMake output, I see that on my system I have SDL detected in the system's folder

          [..]
          -- Found Threads: TRUE
          -- Found SDL2: /usr/lib/arm-linux-gnueabihf/libSDL2main.a;/usr/lib/arm-linux-gnueabihf/libSDL2.so;-lpthread
          [...]
          

          while in your log it's detected in the local site folder

          -- Found Threads: TRUE  
          -- Found SDL2: /usr/local/lib/libSDL2main.a;/usr/local/lib/libSDL2.so;-lpthread  
          

          while the rest of the SDL2 libraries (mixer, image) are in the system folders (/usr/lib/arm-linux-gnueabihf/). This SDL installation mismatch is probably what's causing the compilation to fail.

          Did you install manually SDL2 into your system ? What image have you used to install RetroPie ?

          1 Reply Last reply Reply Quote 0
          • W
            war3zlod3r
            last edited by

            I did not install SDL manually but I did install retropie manually over raspbian stretch, I built it back in march when there wasn't yet a compatible image for the 3B+. Is there a way to resolve this mismatch?

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

              I can't give any advice on how to get it removed since I don't know how it got there and how it was installed, plus there might be other software that depends on it (especially if it was built from source).

              1 Reply Last reply Reply Quote 0
              • W
                war3zlod3r
                last edited by

                so best bet is to backup my files and reimage?

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

                  @war3zlod3r said in Unable to build Commander Genius:

                  so best bet is to backup my files and reimage?

                  Probably yes.

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    war3zlod3r @mitu
                    last edited by

                    @mitu well drat, thank you so much for the help I appreciate you taking the time to help me narrow down the problem

                    1 Reply Last reply Reply Quote 0
                    • W
                      war3zlod3r
                      last edited by

                      is the current posted retropie 4.4 image compatible with 3B+ or should I just reinstall from scratch?

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

                        @war3zlod3r How about checking the news and the download page ?

                        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.