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

    DXX-Rebirth fails to build

    Scheduled Pinned Locked Moved Help and Support
    dxx-rebirthbuild faileddescentdescent 2
    15 Posts 4 Posters 1.2k 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

      NOTE: large log file should be posted on pastebin.com, please use it in the future if you need to paste logs.

      You're running an unsupported system - Raspbian Buster is not fully tested at the moment, though it will be probably be supported in a future version.
      However, that's not the cause of the error - it seems you're missing the libraspberrypi-dev package, you need to install it first.

      1 Reply Last reply Reply Quote 0
      • R
        redman223
        last edited by

        Must be a Buster issue, because when I type: sudo get-apt install libraspberrypi-dev

        It says the latest version is already installed. I tested another card running Debian 9.9 and dxx-rebirth installed without any issues.

        For future reference, which part of the code shows libraspberrypi-dev as missing?

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

          @redman223 said in DXX-Rebirth fails to build:

          For future reference, which part of the code shows libraspberrypi-dev as missing?

          You're confusing code with the log output. The only error I see in the 'scons.log' is

          g++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=redundant-decls -Werror=vla -pthread -funsigned-char -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -Werror -Wno-sign-compare -isystem=/opt/vc/include -isystem=/opt/vc/include/interface/vcos/pthreads -isystem=/opt/vc/include/interface/vmcs_host/linux -DPHYSFS_DEPRECATED= -DRPI -Icommon/include -Icommon/main -I. .sconf_temp/conftest_0.cpp -o .sconf_temp/conftest_0.o
          cc1plus: error: =/opt/vc/include: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: error: =/opt/vc/include/interface/vcos/pthreads: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: error: =/opt/vc/include/interface/vmcs_host/linux: No such file or directory [-Werror=missing-include-dirs]
          cc1plus: all warnings being treated as errors
          scons: Configure: no
          

          On a Stretch system, those folders belongs to the the package I mentioned (which is installed by default by RetroPie).

          $ dpkg -S /opt/vc/include/interface/vcos/pthreads
          libraspberrypi-dev: /opt/vc/include/interface/vcos/pthreads
          

          It's the same on Buster, maybe try re-installing the package ?

          1 Reply Last reply Reply Quote 0
          • R
            redman223
            last edited by

            I ran: sudo get-apt install --reinstall libraspberrypi-dev

            Still the same issue. I'll keep an eye out for Buster comparability updates.

            DarksaviorD 1 Reply Last reply Reply Quote 0
            • DarksaviorD
              Darksavior @redman223
              last edited by Darksavior

              @redman223 I tested it now. It installs fine. It auto installed the required dependencies and then it compiled without issues. I'm using a pi4 with raspbian lite buster. Maybe update the retropie pi4 branch?

              R 1 Reply Last reply Reply Quote 0
              • R
                redman223 @Darksavior
                last edited by

                @Darksavior By that do you mean I should go into Retropie-Setup and run Update?

                DarksaviorD 1 Reply Last reply Reply Quote 0
                • DarksaviorD
                  Darksavior @redman223
                  last edited by Darksavior

                  @redman223 Update raspbian buster as well. I don't know how retropie updates work with alternate branches, so just in case, I'd re-clone the github fkms_rpi4 branch and try again. Make sure you clean the dxx-rebirth source folder if it gives you the option before building again. I did not do anything special to build it. The script should auto-download the required dependencies.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    redman223 @Darksavior
                    last edited by redman223

                    @Darksavior So I ran:
                    sudo apt-get update
                    sudo apt-get upgrade

                    In addition to Update from within RetroPie-Setup.

                    It still does the same thing. Any next steps for troubleshooting?

                    mituM DarksaviorD 2 Replies Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @redman223
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • DarksaviorD
                        Darksavior @redman223
                        last edited by Darksavior

                        @redman223 It never failed to build for me so I don’t know. I also never manually installed missing libs.

                        1 Reply Last reply Reply Quote 0
                        • P
                          psyke83 Global Moderator
                          last edited by

                          This is a build error related to the new gcc version in buster. I'm going to send a fix upstream.

                          DarksaviorD 1 Reply Last reply Reply Quote 1
                          • DarksaviorD
                            Darksavior @psyke83
                            last edited by

                            @psyke83 Funny how mine built fine then?

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              psyke83 Global Moderator @Darksavior
                              last edited by

                              @Darksavior said in DXX-Rebirth fails to build:

                              @psyke83 Funny how mine built fine then?

                              It's a problem that crops up only if you build against the legacy drivers. If you've got a Pi 4B or are using the fkms overlay for older, the problem won't happen.

                              https://github.com/dxx-rebirth/dxx-rebirth/pull/453

                              1 Reply Last reply Reply Quote 1
                              • R
                                redman223
                                last edited by

                                I tried it again today and can confirm that it now installs properly. Thanks for the help!

                                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.