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

    Retroarch fails to compile on Odroid C1+

    Scheduled Pinned Locked Moved Help and Support
    odroid
    17 Posts 4 Posters 3.7k 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.
    • BuZzB
      BuZz administrators
      last edited by

      Don't have any time to look into this currently - but looks like an upstream RetroArch issue.

      You can report it to https://github.com/libretro/RetroArch but they will want you to show how you are building it etc, so you should try to build retroarch manually from github with ./configure --enable-opengles --enable-mali_fbdev

      You may well need to patch the code first with sed -i 's|struct mali_native_window native_window|fbdev_window native_window|' gfx/drivers_context/mali_fbdev_ctx.c

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      S 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        You should try it again as I noticed this 30 mins ago

        https://github.com/libretro/RetroArch/commit/07421c3cd4e45fdb13773d01c48381e0ec2afcbe

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        S 1 Reply Last reply Reply Quote 0
        • S
          strex @BuZz
          last edited by

          @BuZz Thanks, I just tried the above recommendations, including and excluding the patch and still received some errors while compiling. I submitted a issue to their github page, found here: https://github.com/libretro/RetroArch/issues/3863

          1 Reply Last reply Reply Quote 0
          • S
            strex @BuZz
            last edited by

            @BuZz I'll clone it again, and give it a shot. Thanks!

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators
              last edited by BuZz

              try building it again from retropie-setup - the initial problem you had should be fixed. The other problem on that thread is related to missing link libraries.

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              1 Reply Last reply Reply Quote 0
              • S
                strex
                last edited by

                @BuZz I just realized that you were also commenting on github. Thanks, I'll try from retropie-setup.sh script now.

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by BuZz

                  The initial issue above should be fixed. the post you made on github were completely different build issues :) It's possible there might be other problems, but let's see if the first one is sorted and we can look at the others.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • S
                    strex
                    last edited by

                    Thanks @BuZz It's compiling now (via the retropie_setup.sh script) I'll let you know the outcome. I guess I didn't realize until now that there were 2 separate issues.

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by

                      Just also to mention the odroid-c1 support is limited. I don't use it and I test only occasionally. Afaik very few people use it.

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        strex @BuZz
                        last edited by

                        I understand, thank you. I've been running retropie on a few pi's for a while and most everything seems to work great. I'm just not a fan of sluggish sd cards (I've tried several), and various other crashes. Some of which have caused me to start from scratch. Figured I would try it on the Odroid line, with their much faster emmc's and slightly better performing hardware (drivers for said hardware are a different story).

                        1 Reply Last reply Reply Quote 0
                        • S
                          strex
                          last edited by

                          ...and it looks like retroarch compiled successfully via the retropie_setup.sh script!!

                          1 Reply Last reply Reply Quote 0
                          • BuZzB
                            BuZz administrators
                            last edited by

                            looking at the retroarch source history, I suspect it might have been broken for the last 12 days for odroid c1, so the timing for Kivutar fix was perfect :)

                            To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                            1 Reply Last reply Reply Quote 0
                            • E
                              emu_can
                              last edited by

                              Wow! I could build the latest RetroPie on C1+ Ubuntu 16.04.
                              RetroPie runs very well surprisingly after overclocking the CPU frequency to 1.8Ghz.
                              Overclock ODROID-C1

                              I should apply this patch to avoid the retroarch compiling error.
                              https://github.com/libretro/Lakka/blob/lakka/projects/OdroidC1/patches/retroarch/retroarch-02-fix-mali-fbdev.patch

                              Please update the libretro in retropie git.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mtyndorf
                                last edited by

                                I'm actually having this same issue using RetroPie_Setup. I've re-cloned from git and updated retropie-setup.sh from the script however I'm still getting that same compilation error on an ODroid C1+. Am I missing a step?

                                BuZzB 1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators @mtyndorf
                                  last edited by

                                  @mtyndorf I have a fix for it in my odroid-c2 branch - And have reported it upstream -

                                  https://github.com/libretro/RetroArch/issues/4248

                                  Diff there if you know how to manually patch / compile, otherwise please wait and I will merge it soon.

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mtyndorf @BuZz
                                    last edited by

                                    @BuZz Cool, I thought it had already been merged in. My source-foo is not as strong as it once was.

                                    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.